Move LAPACK declarations from blas.h to lapack.h and fix compatibility with EIGEN_USE_MKL

This commit is contained in:
Gael Guennebaud
2016-04-11 17:12:31 +02:00
parent 097d1e8823
commit 0483430283
3 changed files with 174 additions and 162 deletions

View File

@@ -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