aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integer_matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/integer_matrix.c')
-rw-r--r--libcrystfel/src/integer_matrix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/integer_matrix.c b/libcrystfel/src/integer_matrix.c
index 96159cc6..018f0ca6 100644
--- a/libcrystfel/src/integer_matrix.c
+++ b/libcrystfel/src/integer_matrix.c
@@ -353,7 +353,9 @@ IntegerMatrix *intmat_inverse(const IntegerMatrix *m)
det = intmat_det(m);
if ( (det != +1) && (det != -1) ) {
- fprintf(stderr, "Inverse matrix not an integer matrix.\n");
+ fprintf(stderr,
+ "Inverse matrix not an integer matrix (det = %i).\n",
+ det);
return NULL;
}