aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}