aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index 6f360bac..761861ef 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -399,7 +399,7 @@ static void diffraction_panel(struct image *image, const double *intensities,
yo = (1.0/nys) * ys;
detgeom_transform_coords(p, fs+xo, ss+yo,
- 0.0, 0.0, 1.0/k, qv);
+ 1.0/k, 0.0, 0.0, qv);
q.u = qv[0]; q.v = qv[1]; q.w = qv[2];