mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
f86dddf7ba
numpy arrays aren't currently properly setting base: by setting `->base` directly, the base doesn't follow what numpy expects and documents (that is, following chained array bases to the root array). This fixes the behaviour by using numpy's PyArray_SetBaseObject to set the base instead, and then updates the tests to reflect the fixed behaviour. |
||
---|---|---|
.. | ||
pybind11 |