aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-06-21 17:04:37 +0200
committerThomas White <taw@physics.org>2024-06-21 17:04:37 +0200
commitf1d1f37002c8623db7dd346748d37cbace980a88 (patch)
treefc4219fdc3ba18756af6eb1171e2dd997b3bc4d7 /libcrystfel/src/utils.c
parent17471dc1c38f77d9c5930d0cbe15e4bc8e12d16c (diff)
matrix_invert(): Don't free input matrix
Diffstat (limited to 'libcrystfel/src/utils.c')
-rw-r--r--libcrystfel/src/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/utils.c b/libcrystfel/src/utils.c
index 7bfac487..5204e5f1 100644
--- a/libcrystfel/src/utils.c
+++ b/libcrystfel/src/utils.c
@@ -162,7 +162,6 @@ gsl_matrix *matrix_invert(gsl_matrix *m)
}
gsl_permutation_free(perm);
- gsl_matrix_free(m);
return inv;
}