Document when a numpy array is copied and when an error is triggered #4661
lorentzenchr
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
#2455 (comment) already discusses and answers the question when an array passed as argument is copied.
It would be really nice to have it documented somewhere in https://pybind11.readthedocs.io/en/stable/advanced/pycpp/numpy.html:
py::array::forcecast
).Beta Was this translation helpful? Give feedback.
All reactions