aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-10-24 11:39:00 +0200
committerThomas White <taw@physics.org>2016-10-24 11:39:00 +0200
commit0dd2f095933d7ef34ef4cbfa6354b7f3644a408e (patch)
tree656aa95600840242b7391cf8ec53508bb33c0119 /libcrystfel/src
parentea811692bee76479f27012c3bd2e73847fbef6b3 (diff)
D'oh
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/taketwo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c
index 1fdbd7c5..40e2fdf9 100644
--- a/libcrystfel/src/taketwo.c
+++ b/libcrystfel/src/taketwo.c
@@ -225,9 +225,9 @@ static gsl_matrix *closest_rot_mat(struct rvec vec1, struct rvec vec2,
/* Redeclaring these to try and maintain readability and
* check-ability against the maths I wrote down */
- double a = vec2.u; double b = vec2.w; double c = vec2.v;
- double p = vec1.u; double q = vec1.w; double r = vec1.v;
- double x = axis.u; double y = axis.w; double z = axis.v;
+ double a = vec2.u; double b = vec2.v; double c = vec2.w;
+ double p = vec1.u; double q = vec1.v; double r = vec1.w;
+ double x = axis.u; double y = axis.v; double z = axis.w;
/* Components in handwritten maths online when I upload it */
double A = a*(p*x*x - p + x*y*q + x*z*r) +