diff options
author | Artyom Bologov | 2024-08-16 01:58:59 +0400 |
---|---|---|
committer | Artyom Bologov | 2024-08-16 02:03:28 +0400 |
commit | 2b85e9dc5111a8f51170c745c449697d2c77df1e (patch) | |
tree | 6edfde5a0c19851cdb0ecbe86f5926e99779801b /src/gemma.cpp | |
parent | b6b8eb6acbf533109edd3004e5d81fdb42ec9102 (diff) | |
download | pangemma-2b85e9dc5111a8f51170c745c449697d2c77df1e.tar.gz |
gemma.cpp: Do eigendecomposition the same way as with LMM.
This way, one can export the eigen* data that matches the one used
while doing LMM. Otherwise the exported eigenvectors are sliiiiightly
off and break the computations depending on them in Mgamma.
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r-- | src/gemma.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp index 2525075..4dfd7fd 100644 --- a/src/gemma.cpp +++ b/src/gemma.cpp @@ -2617,7 +2617,7 @@ void GEMMA::BatchRun(PARAM &cPar) { time_start = clock(); if (cPar.a_mode == M_EIGEN) { - cPar.trace_G = EigenDecomp_Zeroed(G, U, eval, 1); + cPar.trace_G = EigenDecomp_Zeroed(G, U, eval, 0); } else { cPar.trace_G = EigenDecomp_Zeroed(G, U, eval, 0); } |