diff options
author | Thomas White <taw@physics.org> | 2021-04-13 12:38:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-04-13 12:38:11 +0200 |
commit | f44521d1426fe96a628c6e387619c973ad2a7769 (patch) | |
tree | 77a29e68edc6c08517c7c16f7faa00e7ae24fad7 /src/diffraction.c | |
parent | ec0cf0e18a2ecc45800d40d873e73259550ffb96 (diff) |
pattern_sim: Fix incorrect argument order for detgeom_transform_coords
Diffstat (limited to 'src/diffraction.c')
-rw-r--r-- | src/diffraction.c | 2 |
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]; |