diff options
author | Pjotr Prins | 2018-09-15 11:59:49 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-15 11:59:49 +0000 |
commit | 10cc3c77d5f6d385807f019b7894d4b87820cab4 (patch) | |
tree | 5e818f61a2dd7c7d4ce11076e829a6e0d75917d3 /src/mathfunc.cpp | |
parent | 74fdcbcb6fa579f788e4bdadaf004c752349fcf7 (diff) | |
download | pangemma-10cc3c77d5f6d385807f019b7894d4b87820cab4.tar.gz |
Using Guix container to build with gcc and clang
Diffstat (limited to 'src/mathfunc.cpp')
-rw-r--r-- | src/mathfunc.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mathfunc.cpp b/src/mathfunc.cpp index 8acbd52..21d5c09 100644 --- a/src/mathfunc.cpp +++ b/src/mathfunc.cpp @@ -604,18 +604,3 @@ double UcharToDouble02(const unsigned char c) { return (double)c * 0.01; } unsigned char Double02ToUchar(const double dosage) { return (int)(dosage * 100); } - -/* -void uchar_matrix_get_row(const vector<vector<unsigned char>> &X, - const size_t i_row, VectorXd &x_row) { - if (i_row < X.size()) { - for (size_t j = 0; j < x_row.size(); j++) { - x_row(j) = UcharToDouble02(X[i_row][j]); - } - } else { - std::cerr << "Error return genotype vector...\n"; - exit(1); - } -} - -*/ |