Fixed 32bit builds.

This commit is contained in:
Hauke Heibel
2010-02-03 09:07:17 +01:00
parent 7b2dd988fa
commit 8861dce7ee
3 changed files with 9 additions and 9 deletions

View File

@@ -75,7 +75,7 @@ cwiseInverse() const { return derived(); }
* \sa cwiseEqual(const MatrixBase<OtherDerived> &) const
*/
inline const CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >,Derived>
cwiseEqual(Scalar s) const
cwiseEqual(const Scalar& s) const
{
return CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >,Derived>
(derived(), std::bind1st(std::equal_to<Scalar>(), s));