about summary refs log tree commit diff
path: root/src/param.h
diff options
context:
space:
mode:
authorPjotr Prins2017-08-22 07:56:07 +0000
committerPjotr Prins2017-08-22 08:01:50 +0000
commit99527865c00b74a3a48daa2e1e5eb7c71bd861b5 (patch)
tree313f36729cc5f0e860d4c73f26ddbee5cff0bf4f /src/param.h
parentc7cbd8b2d5a06b7b86733719315f9da1638cb32e (diff)
downloadpangemma-99527865c00b74a3a48daa2e1e5eb7c71bd861b5.tar.gz
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)
Diffstat (limited to 'src/param.h')
-rw-r--r--src/param.h3
1 files changed, 2 insertions, 1 deletions
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