diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-01-24 18:49:18 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-01-24 18:49:18 +0100 |
commit | 7dd4aaba9f268c69b4d16c7b0c4031328049f55d (patch) | |
tree | 687df85e16632bf8a3b7aea4746cfa316f99b826 | |
parent | bd12ac4ffcfa6c99c28e1fe1d93a2e182fa6e6c4 (diff) |
fix missing const qualifier in cwiseEqual
-rw-r--r-- | Eigen/src/plugins/MatrixCwiseUnaryOps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/plugins/MatrixCwiseUnaryOps.h b/Eigen/src/plugins/MatrixCwiseUnaryOps.h index f95c0fe29..a3d9a0e14 100644 --- a/Eigen/src/plugins/MatrixCwiseUnaryOps.h +++ b/Eigen/src/plugins/MatrixCwiseUnaryOps.h @@ -77,6 +77,6 @@ cwiseInverse() const { return derived(); } inline const CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >, const Derived> cwiseEqual(const Scalar& s) const { - return CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >,Derived> + return CwiseUnaryOp<std::binder1st<std::equal_to<Scalar> >,const Derived> (derived(), std::bind1st(std::equal_to<Scalar>(), s)); } |