Open simonthor opened 4 months ago
I was able to reproduce this locally. Thanks for the report! I'll look into this.
Related to #158 - see https://github.com/scikit-hep/vector/issues/158#issuecomment-989901951 for a detailed explanation (working on this at the moment).
Vector Version
1.3.1
Python Version
3.11.4
OS / Environment
Kubuntu Linux 22.04. vector is installed using pip in a conda environment.
Describe the bug
When trying to assign certain items in a vector numpy array, the behavior is different depending on how it is done.
Assignment with a slice:
Assignment with a boolean array:
Assignment with a single index:
Any additional but relevant log output
No response