aboutsummaryrefslogtreecommitdiff
path: root/src/gemma_io.cpp
diff options
context:
space:
mode:
authorPjotr Prins2018-08-25 09:48:03 +0000
committerPjotr Prins2018-08-25 09:48:03 +0000
commit4d1a44cb90affbe9c73a27767bae4a4b69c72402 (patch)
tree2ef95ca1df733f1d048f4d0a7eac56651fba3614 /src/gemma_io.cpp
parent3ebaa0718d92e9de9c85c9e462d8fff22ff65d1a (diff)
downloadpangemma-4d1a44cb90affbe9c73a27767bae4a4b69c72402.tar.gz
segfpe handling
Diffstat (limited to 'src/gemma_io.cpp')
-rw-r--r--src/gemma_io.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gemma_io.cpp b/src/gemma_io.cpp
index 818c5e8..fad3e47 100644
--- a/src/gemma_io.cpp
+++ b/src/gemma_io.cpp
@@ -1483,12 +1483,14 @@ bool BimbamKin(const string file_geno, const set<string> ksnps,
// and transpose
// FIXME: the following is very slow
+ debug_msg("begin transpose");
for (size_t i = 0; i < ni_total; ++i) {
for (size_t j = 0; j < i; ++j) {
d = gsl_matrix_get(matrix_kin, j, i);
gsl_matrix_set(matrix_kin, i, j, d);
}
}
+ debug_msg("end transpose");
// GSL is faster - and there are even faster methods
// enforce_gsl(gsl_matrix_transpose(matrix_kin));