aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mpl2only.cpp
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2019-08-07 14:19:00 -0700
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2019-08-07 14:19:00 -0700
commit85928e5f4746c50c546fd67a0762beeb99625404 (patch)
treed5f6432519063a6636866b792a6f5c7c5df05a72 /test/mpl2only.cpp
parentfacc4e45365d197052ae76b891984afa30c0db97 (diff)
Guard against repeated definition of EIGEN_MPL2_ONLY
Diffstat (limited to 'test/mpl2only.cpp')
-rw-r--r--test/mpl2only.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mpl2only.cpp b/test/mpl2only.cpp
index 7d04d6bba..296350d08 100644
--- a/test/mpl2only.cpp
+++ b/test/mpl2only.cpp
@@ -7,7 +7,9 @@
// 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/.
+#ifndef EIGEN_MPL2_ONLY
#define EIGEN_MPL2_ONLY
+#endif
#include <Eigen/Dense>
#include <Eigen/SparseCore>
#include <Eigen/SparseLU>