We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88a23a2 commit 148b6e5Copy full SHA for 148b6e5
1 file changed
dpctl_ext/tensor/libtensor/source/sorting/searchsorted.cpp
@@ -236,7 +236,7 @@ std::pair<sycl::event, sycl::event>
236
const std::size_t hay_nelems = static_cast<std::size_t>(hay.get_shape(0));
237
238
const py::ssize_t *needles_shape_ptr = needles.get_shape_raw();
239
- const py::ssize_t *positions_shape_ptr = needles.get_shape_raw();
+ const py::ssize_t *positions_shape_ptr = positions.get_shape_raw();
240
241
for (int i = 0; (i < needles_nd) && same_shape; ++i) {
242
const auto needles_sh_i = needles_shape_ptr[i];
0 commit comments