about summary refs log tree commit diff
path: root/src/lmm.cpp
diff options
context:
space:
mode:
authorPjotr Prins2020-12-15 10:27:55 +0000
committerPjotr Prins2020-12-15 10:27:55 +0000
commit28a3aec6356b98af6d31987f6e4850d0d0432ee1 (patch)
tree8e6681a89924941f571e511056db846f15b41b25 /src/lmm.cpp
parent45841da1db72e088ce0c4e10ef826b9391fb72ae (diff)
downloadpangemma-28a3aec6356b98af6d31987f6e4850d0d0432ee1.tar.gz
Removed logl_H1 column for -lmm 3 - see also #237
Diffstat (limited to 'src/lmm.cpp')
-rw-r--r--src/lmm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lmm.cpp b/src/lmm.cpp
index 31c42f5..e10c0e9 100644
--- a/src/lmm.cpp
+++ b/src/lmm.cpp
@@ -114,8 +114,8 @@ void LMM::WriteFiles() {
       outfile << "se" << "\t";
     }
 
-    // a_mode 1
-    outfile << "logl_H1" << "\t";  // we may make this an option
+    if (a_mode != 3)
+      outfile << "logl_H1" << "\t";  // we may make this an option
 
     switch(a_mode) {
     case 1:
@@ -147,7 +147,7 @@ void LMM::WriteFiles() {
       outfile << st.se << "\t";
     }
 
-    if (!is_legacy_mode())
+    if (a_mode != 3)
       outfile << st.logl_H1 << "\t";
 
     switch(a_mode) {