mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-12 16:11:49 +08:00
Add parenthesis to fix compiler warnings
This commit is contained in:
parent
877a2b64c9
commit
f90d136c84
@ -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