aboutsummaryrefslogtreecommitdiff
path: root/src/refine.c
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2008-01-22 12:43:28 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2008-01-22 12:43:28 +0000
commitd0cf9ad6d2025cc3ac59e58511dde116d999b7e3 (patch)
tree50d2b8d24a7c75d9903eb6049b902a7112496850 /src/refine.c
parent61f8a2450fd944920523c0153ea1702f72d751fb (diff)
Nooooo! Use RADIANS internally...
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@260 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/refine.c')
-rw-r--r--src/refine.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/refine.c b/src/refine.c
index 3a01a9d..fe932d0 100644
--- a/src/refine.c
+++ b/src/refine.c
@@ -192,6 +192,11 @@ 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);
matrix_vector_show(M, p, "RF: ");
/* Calculate and display the determinant */