about summary refs log tree commit diff
path: root/src/gemma.cpp
diff options
context:
space:
mode:
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 69e338a..c7f7ab6 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -2842,9 +2842,10 @@ void GEMMA::BatchRun(PARAM &cPar) {
           gsl_vector_view UtY_col = gsl_matrix_column(UtY, 0); // and its transformed
           write(&Y_col.vector, "Y_col");
 
-          if (cPar.is_mdb)
+          if (cPar.is_mdb) {
             cLmm.mdb_calc_gwa(U, eval, UtW, &UtY_col.vector, W,
                               &Y_col.vector, cPar.setGWASnps);
+          }
           else
             if (!cPar.file_bfile.empty()) {
               // PLINK analysis