aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 7e4a7549..f6971b1e 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -1175,7 +1175,7 @@ void mark_resolution_range_as_bad(struct image *image,
double r;
detgeom_transform_coords(p, fs, ss,
image->lambda,
- q);
+ 0.0, 0.0, q);
r = modulus(q[0], q[1], q[2]);
if ( (r >= min) && (r <= max) ) {
image->bad[i][fs+p->w*ss] = 1;