Vectorize any() / all()

This commit is contained in:
Charles Schlosser
2023-03-06 23:54:02 +00:00
committed by Rasmus Munk Larsen
parent cb8e6d4975
commit 1ce8b25825
5 changed files with 599 additions and 443 deletions

View File

@@ -94,8 +94,8 @@ void binary_op_test(std::string name, Fn fun, RefFn ref) {
}
#define BINARY_FUNCTOR_TEST_ARGS(fun) #fun, \
[](const auto& x, const auto& y) { return (Eigen::fun)(x, y); }, \
[](const auto& x, const auto& y) { return (std::fun)(x, y); }
[](const auto& x_, const auto& y_) { return (Eigen::fun)(x_, y_); }, \
[](const auto& x_, const auto& y_) { return (std::fun)(x_, y_); }
template <typename Scalar>