aboutsummaryrefslogtreecommitdiff
path: root/src/prdt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/prdt.cpp')
-rw-r--r--src/prdt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prdt.cpp b/src/prdt.cpp
index 9dc84bc..fc0abe8 100644
--- a/src/prdt.cpp
+++ b/src/prdt.cpp
@@ -227,7 +227,7 @@ void PRDT::AnalyzeBimbam(gsl_vector *y_prdt) {
// Start reading genotypes and analyze.
for (size_t t = 0; t < ns_total; ++t) {
- !safeGetline(infile, line).eof();
+ safeGetline(infile, line).eof();
if (t % d_pace == 0 || t == (ns_total - 1)) {
ProgressBar("Reading SNPs ", t, ns_total - 1);
}