aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-04-29 11:47:16 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:24 +0100
commit223118e5c152e36f04bf678f54d86d4c4d0d538f (patch)
tree2266f612cce74d03b3ffe78557db1b89092f8800 /src/post-refinement.c
parentc4461bd57014f406113b96b0f100d6f6fac0591a (diff)
Refine against reciprocal space cell, not real space
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c6
1 files changed, 3 insertions, 3 deletions
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);