diff options
author | Thomas White <taw@physics.org> | 2019-03-20 15:50:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-20 15:50:48 +0100 |
commit | b42cd63e27a222ca91a549f5bec30d1e03866de2 (patch) | |
tree | eaec886e085673f73ce83ea5efb0afd0c9b56192 /libcrystfel/src/integer_matrix.c | |
parent | 26524f58f747ba04e91cf12ac390bd737652489a (diff) |
Fix matrix conventions for symmetry operations
Diffstat (limited to 'libcrystfel/src/integer_matrix.c')
-rw-r--r-- | libcrystfel/src/integer_matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/integer_matrix.c b/libcrystfel/src/integer_matrix.c index 90d58b35..7a373cbe 100644 --- a/libcrystfel/src/integer_matrix.c +++ b/libcrystfel/src/integer_matrix.c @@ -209,7 +209,7 @@ signed int *transform_indices(const IntegerMatrix *P, const signed int *hkl) unsigned int i; ans[j] = 0; for ( i=0; i<P->rows; i++ ) { - ans[i] += intmat_get(P, i, j) * hkl[j]; + ans[j] += intmat_get(P, i, j) * hkl[i]; } } |