style: ssize_t -> py::ssize_t

This commit is contained in:
Henry Schreiner
2020-10-15 09:26:38 -04:00
committed by Henry Schreiner
parent 63f2deea32
commit f200832534
8 changed files with 56 additions and 56 deletions

View File

@@ -83,8 +83,8 @@ TEST_SUBMODULE(numpy_vectorize, m) {
py::array_t<float, py::array::forcecast> arg2,
py::array_t<double, py::array::forcecast> arg3
) {
ssize_t ndim;
std::vector<ssize_t> shape;
py::ssize_t ndim;
std::vector<py::ssize_t> shape;
std::array<py::buffer_info, 3> buffers {{ arg1.request(), arg2.request(), arg3.request() }};
return py::detail::broadcast(buffers, ndim, shape);
});