From 223118e5c152e36f04bf678f54d86d4c4d0d538f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 29 Apr 2011 11:47:16 +0200 Subject: Refine against reciprocal space cell, not real space --- src/post-refinement.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/post-refinement.c') diff --git a/src/post-refinement.c b/src/post-refinement.c index 02744e9e..f94a2fc5 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -388,7 +388,7 @@ static void plot_curve(struct image *image, const RefList *full, double shval, origval; int i; - cell_get_cartesian(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); + cell_get_reciprocal(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); shval = 0.001*ax; origval = ax; @@ -396,10 +396,10 @@ static void plot_curve(struct image *image, const RefList *full, double dev; - cell_get_cartesian(cell, &ax, &ay, &az, &bx, + cell_get_reciprocal(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz); ax = origval + (double)i*shval; - cell_set_cartesian(cell, ax, ay, az, bx, by, bz, cx, cy, cz); + cell_set_reciprocal(cell, ax, ay, az, bx, by, bz, cx, cy, cz); update_partialities_and_asymm(image, sym, NULL, NULL, NULL, NULL); -- cgit v1.2.3