diff options
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)); |