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 4f17a27d..e6b0eab2 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,
- image->lambda, qv);
+ 1.0/k, qv);
q.u = qv[0]; q.v = qv[1]; q.w = qv[2];