From 0fe6d1332bf21a6be2c1beeb9fada6eb1a1ff244 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 14 Oct 2017 06:00:55 +0000 Subject: More disabling of eigenlib (faster compilation) and avoid OPENBLAS_CONST which does not work on older cblas.h --- src/mathfunc.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mathfunc.cpp') 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 #include -#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 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> &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> &X, exit(1); } } + +*/ -- cgit v1.2.3