aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-07 11:46:08 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:27 +0100
commit73d5930cb8351d470e583c6ab5ed22ff1a851c8f (patch)
tree9c68694ce5a47c35b9854035d4ee5d226615471d /src/diffraction.c
parent7c9a1213cf57f65ad758e923be3372a0dfd34c0a (diff)
Tidy up
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 2b1fdac9..23b7d46d 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -412,7 +412,7 @@ void get_diffraction(struct image *image, int na, int nb, int nc,
/* x divergence */
q.u = qn.u*cos(xdiv) +qn.w*sin(xdiv);
- q.v = qn.v;
+ q.v = qn.v;
q.w = -qn.u*sin(xdiv) +qn.w*cos(xdiv);
qn = q;