aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/taketwo.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-11 11:53:59 +0100
committerThomas White <taw@physics.org>2019-03-11 16:49:37 +0100
commitc04d93ef0e6faf50ad243932da158239f83cc619 (patch)
tree1b2c758107e9ff6077fb0e76eefdf578ada3076a /libcrystfel/src/taketwo.c
parentcb51ba0e53425ae663db313d730c1df644e4f76b (diff)
Get rid of cell_transform_gsl_reciprocal()
It's confusing to have matrices acting on both real and reciprocal vectors. Let's standardise instead on transformations always applying to real-space cells. It was only used in one place.
Diffstat (limited to 'libcrystfel/src/taketwo.c')
-rw-r--r--libcrystfel/src/taketwo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index 37a29722..572ef793 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -2059,7 +2059,7 @@ static UnitCell *run_taketwo(UnitCell *cell, const struct taketwo_options *opts,
tp->numPrevs++;
/* Prepare the solution for CrystFEL friendliness */
- result = cell_transform_gsl_reciprocal(cell, solution);
+ result = cell_transform_gsl_direct(cell, solution);
cleanup_taketwo_cell(&ttCell);
return result;