aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ref.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-02-27 23:52:10 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-02-27 23:52:10 +0100
commit6dd93fc76e123fcac287fa937cf28ca474e731ba (patch)
tree2cef79b95b6687110dc2c2669949c99c74632b4e /test/ref.cpp
parentc754023e72dde59e5c8fce0d74c65437c2eccdd2 (diff)
The ref unit test cannot be easily written to work with EIGEN_DEFAULT_TO_ROW_MAJOR
Diffstat (limited to 'test/ref.cpp')
-rw-r--r--test/ref.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ref.cpp b/test/ref.cpp
index bdc948433..9c24f3a4f 100644
--- a/test/ref.cpp
+++ b/test/ref.cpp
@@ -7,6 +7,11 @@
// 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/.
+// This unit test cannot be easily written to work with EIGEN_DEFAULT_TO_ROW_MAJOR
+#ifdef EIGEN_DEFAULT_TO_ROW_MAJOR
+#undef EIGEN_DEFAULT_TO_ROW_MAJOR
+#endif
+
static int nb_temporaries;
void on_temporary_creation(int size) {