diff options
author | Thomas White <taw@physics.org> | 2016-10-24 11:39:00 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-10-24 11:39:00 +0200 |
commit | 0dd2f095933d7ef34ef4cbfa6354b7f3644a408e (patch) | |
tree | 656aa95600840242b7391cf8ec53508bb33c0119 /libcrystfel/src | |
parent | ea811692bee76479f27012c3bd2e73847fbef6b3 (diff) |
D'oh
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/taketwo.c | 6 |
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) + |