diff options
author | Pjotr Prins | 2017-08-26 15:47:07 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-08-26 15:47:07 +0000 |
commit | a1984edf45653c46ff430de3958449459532cb6f (patch) | |
tree | ee7fe2693b3174328e46a22454edeb9e64cfc021 /src/lapack.cpp | |
parent | be45bcca0ddc1d88066bd18a56ca57d588e41e99 (diff) | |
download | pangemma-a1984edf45653c46ff430de3958449459532cb6f.tar.gz |
LULndet: remove bad enforce
Diffstat (limited to 'src/lapack.cpp')
-rw-r--r-- | src/lapack.cpp | 5 |
1 files changed, 1 insertions, 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); } /* |