From af605c813075afa76157f871710116451bfc357a Mon Sep 17 00:00:00 2001 From: taw27 Date: Wed, 23 Jan 2008 14:58:44 +0000 Subject: More testing git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@261 bf6ca9ba-c028-0410-8290-897cf20841d1 --- src/iprtest.c | 2 +- src/refine.c | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/iprtest.c b/src/iprtest.c index 976ad51..369fd51 100644 --- a/src/iprtest.c +++ b/src/iprtest.c @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) { ctx->image = malloc(sizeof(ImageRecord)); ctx->image->image = NULL; - ctx->image->tilt = deg2rad(45.0); + ctx->image->tilt = deg2rad(0.0); ctx->image->omega = deg2rad(0.0); ctx->image->slop = deg2rad(0.0); ctx->image->fmode = FORMULATION_PIXELSIZE; diff --git a/src/refine.c b/src/refine.c index fe932d0..b18e5fb 100644 --- a/src/refine.c +++ b/src/refine.c @@ -192,11 +192,12 @@ ImageFeature *refine_fit_image(Basis *cell, ImageRecord *image) { /* Prepare for solving */ refine_fix_unconstrained(M); - gsl_matrix_set(M, 2, 0, 0.0); - gsl_matrix_set(M, 2, 1, 0.0); - gsl_matrix_set(M, 2, 2, 1.0); - gsl_matrix_set(M, 0, 2, 0.0); - gsl_matrix_set(M, 1, 2, 0.0); + // gsl_matrix_set(M, 2, 0, 0.0); + // gsl_matrix_set(M, 2, 1, 0.0); + // gsl_matrix_set(M, 2, 2, 1.0); + // gsl_matrix_set(M, 0, 2, 0.0); + // gsl_matrix_set(M, 1, 2, 0.0); + // gsl_vector_set(p, 2, 0.0); matrix_vector_show(M, p, "RF: "); /* Calculate and display the determinant */ -- cgit v1.2.3