aboutsummaryrefslogtreecommitdiff
path: root/src/mathfunc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mathfunc.cpp')
-rw-r--r--src/mathfunc.cpp15
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);
- }
-}
-
-*/