From cb51ba0e53425ae663db313d730c1df644e4f76b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 9 Mar 2019 11:42:55 +0100 Subject: Change matrix notation to match ITA chapter 5.1 --- libcrystfel/src/rational.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/rational.c') 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; irows; i++ ) { -- cgit v1.2.3