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 15:52:01 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-04-11 15:52:01 +0200
commitddabc992faad25b8c1fca0d0c5ae35ea34e778a4 (patch)
tree75ede03009f7f8a1692721aa00d6750298f0080d /Eigen/src/Core/util/MKL_support.h
parent8191f373befc6d02e473d99ce0d86e92ee3a8736 (diff)
Fix long to int conversion in BLAS API.
Diffstat (limited to 'Eigen/src/Core/util/MKL_support.h')
-rw-r--r--Eigen/src/Core/util/MKL_support.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/MKL_support.h b/Eigen/src/Core/util/MKL_support.h
index de7847fc4..382014e66 100644
--- a/Eigen/src/Core/util/MKL_support.h
+++ b/Eigen/src/Core/util/MKL_support.h
@@ -114,7 +114,9 @@ typedef std::complex<double> dcomplex;
typedef std::complex<float> scomplex;
#if defined(EIGEN_USE_BLAS) && !defined(EIGEN_USE_MKL)
-typedef int MKL_INT;
+typedef int BlasIndex;
+#else
+typedef MKL_INT BlasIndex;
#endif
namespace internal {