aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/xds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index c0fccc7b..cae7ce71 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -173,9 +173,9 @@ static int read_cell(struct image *image)
cell = cell_new();
cell_set_cartesian(cell,
- ax*1e-10, ay*1e-10, az*1e-10,
- bx*1e-10, by*1e-10, bz*1e-10,
- -cx*1e-10, -cy*1e-10, -cz*1e-10);
+ -ax*1e-10, -ay*1e-10, -az*1e-10,
+ -bx*1e-10, -by*1e-10, -bz*1e-10,
+ cx*1e-10, cy*1e-10, cz*1e-10);
if ( convert_spacegroup_number(spg, &latticetype, &centering, &ua) ) {
ERROR("Failed to convert XDS space group number (%i)\n", spg);
return 0;