aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-04-25 12:05:15 +0200
committerThomas White <taw@physics.org>2018-04-25 12:11:21 +0200
commit6718caad7714608de853228e19015515c9c30a07 (patch)
tree66002e7e3b67e414aa7ccfa556b04a2105691171
parent4b27e579f2aded0286376ed46e02130624c17fb7 (diff)
Clarify error message about inverting matrix
-rw-r--r--libcrystfel/src/cell.c4
1 files changed, 2 insertions, 2 deletions
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;
}