xtensor-stack / xtensor-python

Python bindings for xtensor
BSD 3-Clause "New" or "Revised" License
345 stars 58 forks source link

test for 0-D array #224

Open JohanMabille opened 4 years ago

JohanMabille commented 4 years ago

We need ot add a test that passes a 0-D array to a function expecting a pyarray object to check that everything is fine with #222

yungyuc commented 4 years ago

Sorry I have not got a chance to come back to revisit https://github.com/xtensor-stack/xtensor-python/pull/209 in the past two month. I will try to do it.

JohanMabille commented 4 years ago

No worries ;) We need to release soon, that's why I merged ypur PR, but that's totally fine to add missing stuff later in dedicated PRs