mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 15:20:34 +00:00
41f8da4a95
Currently if you construct an `array_t<T, array::f_style>` with a shape but not strides you get a C-style array; the only way to get F-style strides was to calculate the strides manually. This commit fixes that by adding logic to use f_style strides when the flag is set. This also simplifies the existing c_style stride logic. |
||
---|---|---|
.. | ||
pybind11 |