diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index 417c94815..9df493499 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -1587,7 +1587,7 @@ Helper vectorize(Return (Class::*f)(Args...)) { return Helper(std::mem_fn(f)); } -// Vectorize a class method (non-const): +// Vectorize a class method (const): template ())), Return, const Class *, Args...>> Helper vectorize(Return (Class::*f)(Args...) const) {