diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index f26d7aa67..49a1e4f5e 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -40,6 +40,9 @@ NAMESPACE_BEGIN(PYBIND11_NAMESPACE) class array; // Forward declaration NAMESPACE_BEGIN(detail) + +template <> struct handle_type_name { static constexpr auto name = _("numpy.ndarray"); }; + template struct npy_format_descriptor; struct PyArrayDescr_Proxy {