mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
fix MSVC warnings, bug #143
This commit is contained in:
parent
7a29ae0b5c
commit
97c54ad220
@ -107,12 +107,12 @@
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#define EIGEN_STATIC_ASSERT(CONDITION,MSG) \
|
||||
{Eigen::internal::static_assertion<(CONDITION)>::MSG;}
|
||||
{Eigen::internal::static_assertion<bool(CONDITION)>::MSG;}
|
||||
|
||||
#else
|
||||
|
||||
#define EIGEN_STATIC_ASSERT(CONDITION,MSG) \
|
||||
if (Eigen::internal::static_assertion<(CONDITION)>::MSG) {}
|
||||
if (Eigen::internal::static_assertion<bool(CONDITION)>::MSG) {}
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user