aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-04-15 18:43:56 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-04-15 18:43:56 +0200
commit775766d175f52d4aa86268c6e6ff43cee374a56a (patch)
treee8893c59b5a9a82c36483119f2da75d6cfe94809 /test/main.h
parent42715533f1bff346d024edce4f79c5fdef7dba04 (diff)
Add parenthesis to fix compiler warnings
Diffstat (limited to 'test/main.h')
-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()); \
}