aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-06-14 11:31:27 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-06-14 11:31:27 +0200
commitbcc0f38f981f8efadeba314fb41e58f911c60ccc (patch)
tree65e503083e54ad2df973c10c6e0323b4d43d92e5 /test
parentf57fd78e308c80d25b1f8c92ae8db2bdc5045a29 (diff)
Add unittesting plugins to scalar_product_op and scalar_quotient_op to help chaking that types are properly propagated.
Diffstat (limited to 'test')
-rw-r--r--test/linearstructure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp
index e7f4b3dc5..7eef976d2 100644
--- a/test/linearstructure.cpp
+++ b/test/linearstructure.cpp
@@ -9,7 +9,7 @@
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
static bool g_called;
-#define EIGEN_SPECIAL_SCALAR_MULTIPLE_PLUGIN { g_called = true; }
+#define EIGEN_SCALAR_BINARY_OP_PLUGIN { g_called |= (!internal::is_same<LhsScalar,RhsScalar>::value); }
#include "main.h"