aboutsummaryrefslogtreecommitdiff
path: root/src/mathfunc.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-10-14 06:00:55 +0000
committerPjotr Prins2017-10-14 06:00:55 +0000
commit0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244 (patch)
treea7699cf08b0547ea01ac1be82b15c55b1abecf69 /src/mathfunc.cpp
parentfdb48997ee3ed2b326a92f8e0cc7f72a4b38d8c8 (diff)
downloadpangemma-0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244.tar.gz
More disabling of eigenlib (faster compilation) and avoid OPENBLAS_CONST which does not work on older cblas.h
Diffstat (limited to 'src/mathfunc.cpp')
-rw-r--r--src/mathfunc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mathfunc.cpp b/src/mathfunc.cpp
index d0a9d65..f55f3c6 100644
--- a/src/mathfunc.cpp
+++ b/src/mathfunc.cpp
@@ -32,7 +32,7 @@
#include <tuple>
#include <vector>
-#include "Eigen/Dense"
+// #include "Eigen/Dense"
#include "gsl/gsl_version.h"
@@ -54,7 +54,7 @@
#include "mathfunc.h"
using namespace std;
-using namespace Eigen;
+// using namespace Eigen;
bool has_nan(const vector<double> v) {
for (const auto& e: v) {
@@ -524,6 +524,7 @@ 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()) {
@@ -535,3 +536,5 @@ void uchar_matrix_get_row(const vector<vector<unsigned char>> &X,
exit(1);
}
}
+
+*/