Skip to content
Snippets Groups Projects
Commit 2f87ca27 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MaL] Move Eigen/Sparse include out of ifdef.

The Sparse' module parts are used also if unsupported
module support is turned off.
parent 233846b5
No related branches found
No related tags found
No related merge requests found
...@@ -10,17 +10,18 @@ ...@@ -10,17 +10,18 @@
#include "EigenLinearSolver.h" #include "EigenLinearSolver.h"
#include <Eigen/Sparse>
#include "BaseLib/Logging.h" #include "BaseLib/Logging.h"
#ifdef USE_MKL #ifdef USE_MKL
#include <Eigen/PardisoSupport> #include <Eigen/PardisoSupport>
#endif #endif
#ifdef USE_EIGEN_UNSUPPORTED #ifdef USE_EIGEN_UNSUPPORTED
#include <unsupported/Eigen/src/IterativeSolvers/GMRES.h> #include <unsupported/Eigen/src/IterativeSolvers/GMRES.h>
#include <unsupported/Eigen/src/IterativeSolvers/Scaling.h> #include <unsupported/Eigen/src/IterativeSolvers/Scaling.h>
#include <Eigen/Sparse>
#endif #endif
#include "BaseLib/ConfigTree.h" #include "BaseLib/ConfigTree.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment