diff options
-rw-r--r-- | src/lmm.cpp | 6 | ||||
-rwxr-xr-x | test/dev_test_suite.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lmm.cpp b/src/lmm.cpp index 68d3c4f..a49c8c5 100644 --- a/src/lmm.cpp +++ b/src/lmm.cpp @@ -104,10 +104,10 @@ void LMM::WriteFiles() { } auto common_header = [&] () { - if (a_mode != 2) + if (a_mode != 2) { outfile << "beta" << "\t"; - - outfile << "se" << "\t"; + outfile << "se" << "\t"; + } outfile << "logl_H1" << "\t"; // we may make this an option diff --git a/test/dev_test_suite.sh b/test/dev_test_suite.sh index 0fc4423..136ba76 100755 --- a/test/dev_test_suite.sh +++ b/test/dev_test_suite.sh @@ -44,7 +44,7 @@ testBXDLMMLikelihoodRatio() { assertEquals 0 $? outfn=output/$outn.assoc.txt - assertEquals "80498" `wc -w < $outfn` + assertEquals "73180" `wc -w < $outfn` assertEquals "3088458212.93" `perl -nle 'foreach $x (split(/\s+/,$_)) { $sum += sprintf("%.2f",(substr($x,,0,6))) } END { printf "%.2f",$sum }' $outfn` } |