aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/symop.y
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-09 11:42:55 +0100
committerThomas White <taw@physics.org>2019-03-11 16:49:37 +0100
commitcb51ba0e53425ae663db313d730c1df644e4f76b (patch)
treed380d61eca0f6729b3af97a5065c16c8e0c5d19c /libcrystfel/src/symop.y
parent7d5453e30c18a59b27b486298c3589046adbc308 (diff)
Change matrix notation to match ITA chapter 5.1
Diffstat (limited to 'libcrystfel/src/symop.y')
-rw-r--r--libcrystfel/src/symop.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcrystfel/src/symop.y b/libcrystfel/src/symop.y
index bebf823f..be31c21d 100644
--- a/libcrystfel/src/symop.y
+++ b/libcrystfel/src/symop.y
@@ -101,13 +101,13 @@ symoplist:
symop:
axexpr COMMA axexpr COMMA axexpr { rtnl_mtx_set(m, 0, 0, $1[0]);
- rtnl_mtx_set(m, 0, 1, $1[1]);
- rtnl_mtx_set(m, 0, 2, $1[2]);
- rtnl_mtx_set(m, 1, 0, $3[0]);
+ rtnl_mtx_set(m, 1, 0, $1[1]);
+ rtnl_mtx_set(m, 2, 0, $1[2]);
+ rtnl_mtx_set(m, 0, 1, $3[0]);
rtnl_mtx_set(m, 1, 1, $3[1]);
- rtnl_mtx_set(m, 1, 2, $3[2]);
- rtnl_mtx_set(m, 2, 0, $5[0]);
- rtnl_mtx_set(m, 2, 1, $5[1]);
+ rtnl_mtx_set(m, 2, 1, $3[2]);
+ rtnl_mtx_set(m, 0, 2, $5[0]);
+ rtnl_mtx_set(m, 1, 2, $5[1]);
rtnl_mtx_set(m, 2, 2, $5[2]);
}
;