diff options
author | Pjotr Prins | 2017-08-15 03:09:32 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-08-15 03:09:32 +0000 |
commit | 51ad0de5cad238b8d9bae63564366e058deccccf (patch) | |
tree | c6912583a251e428f6da5cc81205cde6a12db6a0 /src/param.cpp | |
parent | 7fa36b1c2d6101a6daf4c4e7fd58e759c67e714c (diff) | |
download | pangemma-51ad0de5cad238b8d9bae63564366e058deccccf.tar.gz |
Fixes output file with kinship has extra column
https://github.com/genetics-statistics/GEMMA/issues/14
Diffstat (limited to 'src/param.cpp')
-rw-r--r-- | src/param.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/param.cpp b/src/param.cpp index 6ab4339..d1879d1 100644 --- a/src/param.cpp +++ b/src/param.cpp @@ -1955,7 +1955,7 @@ void PARAM::WriteMatrix(const gsl_matrix *matrix_U, const string suffix) { for (size_t i = 0; i < matrix_U->size1; ++i) { for (size_t j = 0; j < matrix_U->size2; ++j) { - outfile << gsl_matrix_get(matrix_U, i, j) << "\t"; + outfile << tab(j) << gsl_matrix_get(matrix_U, i, j); } outfile << endl; } |