Skip to content

Commit

Permalink
PODVector::to_host() Return Policy
Browse files Browse the repository at this point in the history
Move to Python ownership, as in other `.to_host()` methods that
are implemnted.
  • Loading branch information
ax3l committed Feb 8, 2024
1 parent e9e5206 commit c6acdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/PODVector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void make_PODVector(py::module &m, std::string typestr, std::string allocstr)
);
Gpu::streamSynchronize();
return h_data;
})
}, py::return_value_policy::move)

// front
// back
Expand Down

0 comments on commit c6acdec

Please sign in to comment.