aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/cell.c')
-rw-r--r--libcrystfel/src/cell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/cell.c b/libcrystfel/src/cell.c
index 9ae77a6d..63b84fc3 100644
--- a/libcrystfel/src/cell.c
+++ b/libcrystfel/src/cell.c
@@ -736,7 +736,7 @@ static void check_point_fwd(RationalMatrix *m, CenteringMask *cmask,
Rational nc[3];
/* Transform the lattice point */
- rtnl_mtx_solve(m, c, nc);
+ transform_fractional_coords_rtnl(m, c, nc);
/* Eliminate any centerings which don't include the transformed point */
maybe_eliminate(CMASK_P, cmask, nc, 'P');
@@ -759,7 +759,7 @@ static void check_point_bwd(RationalMatrix *m, CenteringMask *mask,
Rational nc[3];
Rational c[3] = {x, y, z};
- rtnl_mtx_mult(m, c, nc);
+ transform_fractional_coords_rtnl_inverse(m, c, nc);
if ( !centering_has_point(cen, nc) ) {
*mask |= exclude;