about summary refs log tree commit diff
path: root/src/gemma.cpp
diff options
context:
space:
mode:
authorPjotr Prins2025-12-01 11:23:04 +0100
committerPjotr Prins2025-12-01 11:23:04 +0100
commit32a5367f0a0a00bec7e610b74abc899521a75fa5 (patch)
treee0e74b3499d1ec270e95f2fc7142d0ede1a30675 /src/gemma.cpp
parent02149fb38d05b14f74caa458741b1512bbf6a8d5 (diff)
downloadpangemma-32a5367f0a0a00bec7e610b74abc899521a75fa5.tar.gz
Almost ready to run GWA
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r--src/gemma.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp
index 0145563..69e338a 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -1911,7 +1911,8 @@ void GEMMA::BatchRun(PARAM &cPar) {
   }
 
   // Generate Kinship matrix (optionally using LOCO)
-  if (cPar.a_mode == M_KIN || cPar.a_mode == M_KIN2) {
+  // if (cPar.a_mode == M_KIN || cPar.a_mode == M_KIN2) {
+  if (is_kinship_compute(cPar.a_mode)) {
     cout << "Calculating Relatedness Matrix ... " << endl;
 
     if (cPar.is_mdb) {