fix some warnings with clang

This commit is contained in:
Thomas Capricelli
2010-05-21 01:46:17 +02:00
parent 2ab446695b
commit 4daba0750e
3 changed files with 44 additions and 43 deletions

View File

@@ -154,9 +154,10 @@ cube() const
(derived(), std::bind2nd(FUNCTOR<Scalar>(), s)); \
}
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator==, std::equal_to);
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator!=, std::not_equal_to);
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator<, std::less);
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator<=, std::less_equal);
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator>, std::greater);
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator>=, std::greater_equal);
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator==, std::equal_to)
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator!=, std::not_equal_to)
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator<, std::less)
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator<=, std::less_equal)
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator>, std::greater)
EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(operator>=, std::greater_equal)