about summary refs log tree commit diff
path: root/src/param.cpp
diff options
context:
space:
mode:
authorPjotr Prins2025-12-07 12:03:51 +0100
committerPjotr Prins2025-12-07 12:03:51 +0100
commit4486e91d7228e9c79950236d7f146db2a0b099ee (patch)
treeb9e90cf8102dd5dc2d83427a1160c707e40692a6 /src/param.cpp
parent127ee6431063dc3e1b83cb1ef3113850697a88f2 (diff)
downloadpangemma-4486e91d7228e9c79950236d7f146db2a0b099ee.tar.gz
Support loco for mdb kinship compute
Diffstat (limited to 'src/param.cpp')
-rw-r--r--src/param.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/param.cpp b/src/param.cpp
index 516dfd8..96a9cd2 100644
--- a/src/param.cpp
+++ b/src/param.cpp
@@ -1303,7 +1303,7 @@ void PARAM::ReadBIMBAMGenotypes(gsl_matrix *UtX, gsl_matrix *K, const bool calc_
 }
 
 gsl_matrix *PARAM::MdbCalcKin() {
-  return mdb_calc_kin(file_geno, is_loco(), a_mode - 20);
+  return mdb_calc_kin(file_geno, a_mode - 20, loco);
 }
 
 void PARAM::CalcKin(gsl_matrix *matrix_kin) {