From c769c6294923ab1390a9a02461ec7189fa48deb5 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 15 Aug 2018 17:13:36 +0200 Subject: [PATCH] fix copy-paste error: non-const -> const --- include/pybind11/numpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {