diff options
author | Thomas White <taw@physics.org> | 2019-03-09 11:42:55 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-11 16:49:37 +0100 |
commit | cb51ba0e53425ae663db313d730c1df644e4f76b (patch) | |
tree | d380d61eca0f6729b3af97a5065c16c8e0c5d19c /libcrystfel/src/symmetry.c | |
parent | 7d5453e30c18a59b27b486298c3589046adbc308 (diff) |
Change matrix notation to match ITA chapter 5.1
Diffstat (limited to 'libcrystfel/src/symmetry.c')
-rw-r--r-- | libcrystfel/src/symmetry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c index 9ee80a16..05ee7c6b 100644 --- a/libcrystfel/src/symmetry.c +++ b/libcrystfel/src/symmetry.c @@ -197,9 +197,9 @@ static void add_symop_v(SymOpList *ops, m = intmat_new(3, 3); assert(m != NULL); - for ( i=0; i<3; i++ ) intmat_set(m, 0, i, h[i]); - for ( i=0; i<3; i++ ) intmat_set(m, 1, i, k[i]); - for ( i=0; i<3; i++ ) intmat_set(m, 2, i, l[i]); + for ( i=0; i<3; i++ ) intmat_set(m, i, 0, h[i]); + for ( i=0; i<3; i++ ) intmat_set(m, i, 1, k[i]); + for ( i=0; i<3; i++ ) intmat_set(m, i, 2, l[i]); free(h); free(k); |