mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +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; \
|
Eigen::no_more_assert = true; \
|
||||||
if(report_on_cerr_on_assert_failure) \
|
if(report_on_cerr_on_assert_failure) \
|
||||||
eigen_plain_assert(a && #MSG); \
|
eigen_plain_assert((a) && #MSG); \
|
||||||
else \
|
else \
|
||||||
EIGEN_THROW_X(Eigen::eigen_static_assert_exception()); \
|
EIGEN_THROW_X(Eigen::eigen_static_assert_exception()); \
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user