From 6718caad7714608de853228e19015515c9c30a07 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 25 Apr 2018 12:05:15 +0200 Subject: Clarify error message about inverting matrix --- libcrystfel/src/cell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/cell.c b/libcrystfel/src/cell.c index 2a4e45be..cc18b49d 100644 --- a/libcrystfel/src/cell.c +++ b/libcrystfel/src/cell.c @@ -382,7 +382,7 @@ static int cell_invert(double ax, double ay, double az, return 1; } if ( gsl_linalg_LU_invert(m, perm, inv) ) { - ERROR("Couldn't invert matrix\n"); + ERROR("Couldn't invert cell matrix:\n"); gsl_matrix_free(m); gsl_permutation_free(perm); return 1; @@ -655,7 +655,7 @@ UnitCellTransformation *tfn_inverse(UnitCellTransformation *t) return NULL; } if ( gsl_linalg_LU_invert(m, perm, inv) ) { - ERROR("Couldn't invert matrix\n"); + ERROR("Couldn't invert transformation matrix\n"); gsl_permutation_free(perm); return NULL; } -- cgit v1.2.3