aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Geometry
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-03-02 13:22:46 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-03-02 13:22:46 +0100
commit3fccef6f50f365a10d68c0b71e305f36329b5e03 (patch)
treec48b88eed54bc0ebc08edfb9833f6b236e8c5ac7 /Eigen/src/Geometry
parentfedaf192627b4eb60edd61e5bf53198d1c98899f (diff)
bug #537: fix compilation with Apples's compiler
Diffstat (limited to 'Eigen/src/Geometry')
-rw-r--r--Eigen/src/Geometry/Quaternion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h
index 32e7e76fa..32d1499c6 100644
--- a/Eigen/src/Geometry/Quaternion.h
+++ b/Eigen/src/Geometry/Quaternion.h
@@ -277,7 +277,7 @@ public:
inline Coefficients& coeffs() { return m_coeffs;}
inline const Coefficients& coeffs() const { return m_coeffs;}
- EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsAlignment)
+ EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(bool(NeedsAlignment))
#ifdef EIGEN_QUATERNION_PLUGIN
# include EIGEN_QUATERNION_PLUGIN