From cdf407bd7994dbe41a952bf29cacc1a2ca9c722e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 6 Sep 2018 11:59:03 +0000 Subject: More debugging and a performance check --- src/lmm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lmm.cpp') 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)); -- cgit v1.2.3