about summary refs log tree commit diff
path: root/src/param.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/param.cpp')
-rw-r--r--src/param.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/param.cpp b/src/param.cpp
index a720801..05e4a7b 100644
--- a/src/param.cpp
+++ b/src/param.cpp
@@ -1120,7 +1120,7 @@ void PARAM::CheckData(void) {
   }
 
   // Output some information.
-  if (file_cor.empty() && file_mstudy.empty() && file_study.empty() &&
+  if (!is_mdb && file_cor.empty() && file_mstudy.empty() && file_study.empty() &&
       a_mode != 15 && a_mode != 27 && a_mode != 28) {
     cout << "## number of total individuals = " << ni_total << endl;
     if (a_mode == 43) {
@@ -1294,7 +1294,7 @@ void PARAM::ReadBIMBAMGenotypes(gsl_matrix *UtX, gsl_matrix *K, const bool calc_
 }
 
 void PARAM::MdbCalcKin() {
-  error = !mdb_calc_kin(file_geno, setKSnps, indicator_snp, a_mode - 20);
+  error = !mdb_calc_kin(file_geno, is_loco(), indicator_snp, a_mode - 20);
   return;
 }