aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mpl2only.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-26 15:17:52 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-26 15:17:52 +0100
commit4704bdc9c06661f0329ea7d77239a72006177226 (patch)
tree3e8807b887e8bdada43b9cb6ee69ea5a376346bb /test/mpl2only.cpp
parent47d44c2f37b15d43bc63cf257959a1005a929fbf (diff)
Make the IterativeLinearSolvers module compatible with MPL2-only mode
by defaulting to COLAMDOrdering and NaturalOrdering for ILUT and ILLT respectively.
Diffstat (limited to 'test/mpl2only.cpp')
-rw-r--r--test/mpl2only.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/mpl2only.cpp b/test/mpl2only.cpp
new file mode 100644
index 000000000..5ef0d2b2e
--- /dev/null
+++ b/test/mpl2only.cpp
@@ -0,0 +1,20 @@
+// This file is part of Eigen, a lightweight C++ template library
+// for linear algebra.
+//
+// Copyright (C) 2015 Gael Guennebaud <gael.guennebaud@inria.fr>
+//
+// This Source Code Form is subject to the terms of the Mozilla
+// Public License v. 2.0. If a copy of the MPL was not distributed
+// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#define EIGEN_MPL2_ONLY
+#include <Eigen/Dense>
+#include <Eigen/SparseCore>
+#include <Eigen/SparseLU>
+#include <Eigen/SparseQR>
+#include <Eigen/IterativeLinearSolvers>
+
+int main()
+{
+ return 0;
+}