From 530488454ae6a35b098b81b45581f88f02d6de0e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 5 Oct 2017 09:18:59 +0000 Subject: Adding debug statements on entering functions and added test for issue 58 --- src/prdt.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/prdt.cpp') diff --git a/src/prdt.cpp b/src/prdt.cpp index 3e7c004..9dc84bc 100644 --- a/src/prdt.cpp +++ b/src/prdt.cpp @@ -206,6 +206,7 @@ void PRDT::AddBV(gsl_matrix *G, const gsl_vector *u_hat, gsl_vector *y_prdt) { } void PRDT::AnalyzeBimbam(gsl_vector *y_prdt) { + debug_msg("entering"); igzstream infile(file_geno.c_str(), igzstream::in); if (!infile) { cout << "error reading genotype file:" << file_geno << endl; @@ -308,6 +309,7 @@ void PRDT::AnalyzeBimbam(gsl_vector *y_prdt) { } void PRDT::AnalyzePlink(gsl_vector *y_prdt) { + debug_msg("entering"); string file_bed = file_bfile + ".bed"; ifstream infile(file_bed.c_str(), ios::binary); if (!infile) { -- cgit v1.2.3