aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-06-08 16:50:17 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-06-08 16:50:17 +0200
commit89d65bb9d6ed8ebc9ce297a3fad90d78ba6cbbbb (patch)
tree11d3bb0e52aa5cc5657756f99c455484086a9857 /test/main.h
parentf05dea6b2326836e5e0243fbaffbece84b833d64 (diff)
bug #1531: expose NumDimensions for compatibility with Tensor
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h
index a94e1ab41..9c8148de2 100644
--- a/test/main.h
+++ b/test/main.h
@@ -339,6 +339,8 @@ inline void verify_impl(bool condition, const char *testname, const char *file,
#define VERIFY_IS_UNITARY(a) VERIFY(test_isUnitary(a))
+#define STATIC_CHECK(COND) EIGEN_STATIC_ASSERT( (COND) , EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT )
+
#define CALL_SUBTEST(FUNC) do { \
g_test_stack.push_back(EI_PP_MAKE_STRING(FUNC)); \
FUNC; \