aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/rational.c
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/rational.c
parent7d5453e30c18a59b27b486298c3589046adbc308 (diff)
Change matrix notation to match ITA chapter 5.1
Diffstat (limited to 'libcrystfel/src/rational.c')
-rw-r--r--libcrystfel/src/rational.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/rational.c b/libcrystfel/src/rational.c
index 20a73bc8..ab1eff91 100644
--- a/libcrystfel/src/rational.c
+++ b/libcrystfel/src/rational.c
@@ -551,8 +551,8 @@ void rtnl_mtx_mtxmult(const RationalMatrix *A, const RationalMatrix *B,
{
int i, j;
- assert(ans->cols == A->cols);
- assert(ans->rows == B->rows);
+ assert(ans->cols == B->cols);
+ assert(ans->rows == A->rows);
assert(A->cols == B->rows);
for ( i=0; i<ans->rows; i++ ) {