From a1984edf45653c46ff430de3958449459532cb6f Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 26 Aug 2017 15:47:07 +0000 Subject: LULndet: remove bad enforce --- src/lapack.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lapack.cpp b/src/lapack.cpp index 9e25791..0dbfed6 100644 --- a/src/lapack.cpp +++ b/src/lapack.cpp @@ -594,10 +594,7 @@ void LUInvert(const gsl_matrix_float *LU, const gsl_permutation *p, // LU lndet. double LULndet(const gsl_matrix *LU) { - double d; - d = gsl_linalg_LU_lndet((gsl_matrix *)LU); - enforce(d != 0.0); - return d; + return gsl_linalg_LU_lndet((gsl_matrix *)LU); } /* -- cgit v1.2.3