aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Sparse
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/Sparse')
-rw-r--r--Eigen/Sparse31
1 files changed, 30 insertions, 1 deletions
diff --git a/Eigen/Sparse b/Eigen/Sparse
index e5126a2d1..d1418943b 100644
--- a/Eigen/Sparse
+++ b/Eigen/Sparse
@@ -8,6 +8,27 @@
#include <cstring>
#include <algorithm>
+#ifdef EIGEN_CHOLMOD_SUPPORT
+ extern "C" {
+ #include "cholmod.h"
+ }
+#endif
+
+#ifdef EIGEN_TAUCS_SUPPORT
+
+ extern "C" {
+ #include "taucs.h"
+ }
+
+ #ifdef min
+ #undef min
+ #endif
+ #ifdef max
+ #undef max
+ #endif
+
+#endif
+
namespace Eigen {
#include "src/Sparse/SparseUtil.h"
@@ -22,7 +43,15 @@ namespace Eigen {
#include "src/Sparse/SparseSetter.h"
#include "src/Sparse/SparseProduct.h"
#include "src/Sparse/TriangularSolver.h"
-#include "src/Sparse/BasicSparseCholesky.h"
+#include "src/Sparse/SparseCholesky.h"
+
+#ifdef EIGEN_CHOLMOD_SUPPORT
+# include "src/Sparse/CholmodSupport.h"
+#endif
+
+#ifdef EIGEN_TAUCS_SUPPORT
+# include "src/Sparse/TaucsSupport.h"
+#endif
} // namespace Eigen