aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/StaticAssert.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-09-27 09:57:57 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-09-27 09:57:57 -0400
commit71f023de3e7a41f456d538d4cdb75c72b90dcc75 (patch)
treed9e7b585ba2836f60a7fe9ffd306192aae1c38d4 /Eigen/src/Core/util/StaticAssert.h
parent94ea1eed9a496cc614dcf496453485e904e974c4 (diff)
fix compilation on ubuntu 9.04's version of gcc 4.3 (yes, wtf)
Diffstat (limited to 'Eigen/src/Core/util/StaticAssert.h')
-rw-r--r--Eigen/src/Core/util/StaticAssert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/StaticAssert.h b/Eigen/src/Core/util/StaticAssert.h
index eb7f3ef50..323273e6a 100644
--- a/Eigen/src/Core/util/StaticAssert.h
+++ b/Eigen/src/Core/util/StaticAssert.h
@@ -100,12 +100,12 @@
#ifdef _MSC_VER
#define EIGEN_STATIC_ASSERT(CONDITION,MSG) \
- {Eigen::ei_static_assert<CONDITION ? true : false>::MSG;}
+ {Eigen::ei_static_assert<(CONDITION)>::MSG;}
#else
#define EIGEN_STATIC_ASSERT(CONDITION,MSG) \
- if (Eigen::ei_static_assert<CONDITION ? true : false>::MSG) {}
+ if (Eigen::ei_static_assert<(CONDITION)>::MSG) {}
#endif