aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.h b/test/main.h
index 14f4e3e7a..0fcd6cb76 100644
--- a/test/main.h
+++ b/test/main.h
@@ -265,7 +265,7 @@ namespace Eigen
{ \
Eigen::no_more_assert = true; \
if(report_on_cerr_on_assert_failure) \
- eigen_plain_assert(a && #MSG); \
+ eigen_plain_assert((a) && #MSG); \
else \
EIGEN_THROW_X(Eigen::eigen_static_assert_exception()); \
}