mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
Add parenthesis to fix compiler warnings
This commit is contained in:
parent
42715533f1
commit
775766d175
@ -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()); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user