diff options
author | 2009-04-03 20:19:07 +0000 | |
---|---|---|
committer | 2009-04-03 20:19:07 +0000 | |
commit | 9a8096dd1daede80efad30680948b139e307f25e (patch) | |
tree | 4066d627f5d10e8da2d7207ec8fa7007dbc150a9 /Eigen/src/Core | |
parent | ff3a3209ca51e03d9471524dd06e13356c2d31bd (diff) |
* fixed truncation warnings caused by MatrixBase::CoeffReturnType under MSVC
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 2d6b3d85b..fad1e305d 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -201,7 +201,7 @@ template<typename Derived> class MatrixBase /** \internal the return type of coeff() */ - typedef typename ei_meta_if<int(Flags)&DirectAccessBit, const Scalar&, Scalar>::ret CoeffReturnType; + typedef typename ei_meta_if<bool(int(Flags)&DirectAccessBit), const Scalar&, Scalar>::ret CoeffReturnType; /** \internal Represents a matrix with all coefficients equal to one another*/ typedef CwiseNullaryOp<ei_scalar_constant_op<Scalar>,Derived> ConstantReturnType; |