aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/predict-refine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c
index aff5fc22..e29c4faa 100644
--- a/libcrystfel/src/predict-refine.c
+++ b/libcrystfel/src/predict-refine.c
@@ -540,10 +540,10 @@ static int iterate(struct reflpeak *rps, int n, UnitCell *cell,
csz += gsl_vector_get(shifts, 8);
update_detector(image->det, gsl_vector_get(shifts, 9),
gsl_vector_get(shifts, 10),
- gsl_vector_get(shifts, 11));
+ 0.0);
*total_x += gsl_vector_get(shifts, 9);
*total_y += gsl_vector_get(shifts, 10);
- *total_z += gsl_vector_get(shifts, 11);
+ *total_z += 0.0;
cell_set_reciprocal(cell, asx, asy, asz, bsx, bsy, bsz, csx, csy, csz);