aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/MKL_support.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-04-11 17:12:31 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-04-11 17:12:31 +0200
commit048343028371a8b7f79e4007a48caa8aff83e0de (patch)
tree328ee97c2969f7decc348e73bd5507b3aa4d6fa9 /Eigen/src/Core/util/MKL_support.h
parent097d1e8823629f14f8cc57ab065e7ab6fb653d0f (diff)
Move LAPACK declarations from blas.h to lapack.h and fix compatibility with EIGEN_USE_MKL
Diffstat (limited to 'Eigen/src/Core/util/MKL_support.h')
-rw-r--r--Eigen/src/Core/util/MKL_support.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/util/MKL_support.h b/Eigen/src/Core/util/MKL_support.h
index bf47a626b..8c9239b1d 100644
--- a/Eigen/src/Core/util/MKL_support.h
+++ b/Eigen/src/Core/util/MKL_support.h
@@ -113,15 +113,15 @@ namespace Eigen {
typedef std::complex<double> dcomplex;
typedef std::complex<float> scomplex;
-#if defined(EIGEN_USE_BLAS) && !defined(EIGEN_USE_MKL)
-typedef int BlasIndex;
-#else
+#if defined(EIGEN_USE_MKL)
typedef MKL_INT BlasIndex;
+#else
+typedef int BlasIndex;
#endif
} // end namespace Eigen
-#if defined(EIGEN_USE_BLAS) && !defined(EIGEN_USE_MKL)
+#if defined(EIGEN_USE_BLAS)
#include "../../misc/blas.h"
#endif