diff options
author | Pjotr Prins | 2018-09-06 11:59:03 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-06 11:59:03 +0000 |
commit | cdf407bd7994dbe41a952bf29cacc1a2ca9c722e (patch) | |
tree | 1bd91f84684d556505ca930ecc73ceacbb1ce8ca /src/lmm.cpp | |
parent | 6dd15bfabc5c655d18ea19c0d69b76ecc34630e2 (diff) | |
download | pangemma-cdf407bd7994dbe41a952bf29cacc1a2ca9c722e.tar.gz |
More debugging and a performance check
Diffstat (limited to 'src/lmm.cpp')
-rw-r--r-- | src/lmm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lmm.cpp b/src/lmm.cpp index d08c90e..80372ee 100644 --- a/src/lmm.cpp +++ b/src/lmm.cpp @@ -296,7 +296,8 @@ void CalcPab(const size_t n_cvt, const size_t e_mode, const gsl_vector *Hi_eval, write(Hi_eval,"Hi_eval"); write(Uab,"Uab"); // write(ab,"ab"); - assert(!has_nan(Hi_eval)); + if (is_check_mode()) + assert(!has_nan(Hi_eval)); assert(!has_nan(Uab)); // assert(!has_nan(ab)); |