Skip to content

Conversation

dcherian
Copy link
Contributor

@dcherian dcherian commented Nov 3, 2023

Use as_indexable instead of NumpyIndexingAdapter

Copy link
Contributor

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need a unit test as you mentioned at xarray-contrib/cupy-xarray#10 (comment) 😉

Comment on lines +863 to +864
# index the loaded ndarray
result = as_indexable(result)[numpy_indices]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docstring above might need some changes to say just 'duck array' instead of 'NumPy array'?

@dcherian dcherian closed this Nov 19, 2024
@dcherian dcherian deleted the kvikio-3 branch March 18, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants