From 99527865c00b74a3a48daa2e1e5eb7c71bd861b5 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 22 Aug 2017 07:56:07 +0000 Subject: Fixes matrix checks - looking saner now - Matrix checks as described in https://github.com/genetics-statistics/GEMMA/issues/72 - introduces -strict switch which will exit on certain conditions - zero small eigenvalues in EigenDecomp_Zeroed which also checks for negative values - commented out float versions of functions in lapack.cpp (pre-removal) - reverted on disabled regression tests (GEMMA shows its previous behaviour now) --- src/param.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/param.h') diff --git a/src/param.h b/src/param.h index 249bf02..08b1e10 100644 --- a/src/param.h +++ b/src/param.h @@ -112,7 +112,8 @@ public: class PARAM { public: // IO-related parameters - bool mode_check = true; + bool mode_check = true; // run data checks (slower) + bool mode_strict = false; // exit on some data checks bool mode_silence; bool mode_debug = false; uint issue; // enable tests for issue on github tracker -- cgit v1.2.3