Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What happens when the any of indices passed to __getitem__ are integers, or list of integers? #60

Open
davidhassell opened this issue Mar 3, 2023 · 1 comment
Labels
question Further information is requested

Comments

@davidhassell
Copy link
Collaborator

Hi - what happens when the any of indices passed to __getitem__ are integers, or list of integers? E.g.

>>> a[:, 3] 
>>> a[:, [3, 4]]
>>> a[[1, 2], [3, 4]]

Does the active reduction work in these cases?

@davidhassell davidhassell added the question Further information is requested label Mar 3, 2023
@bnlawrence
Copy link
Collaborator

So, I believe it should, the Orthogonal indexer does a lot of work on the arguments first. However, you probably need some unit tests to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants