From 5414ff57a37bc7b079a50b1c032d34e2341452f9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 8 Aug 2013 11:49:59 +0200 Subject: Show determinant when complaining about a non-integer matrix result --- libcrystfel/src/integer_matrix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3