mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
style: ssize_t -> py::ssize_t
This commit is contained in:
committed by
Henry Schreiner
parent
63f2deea32
commit
f200832534
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user