Open
Description
Vector Version
0.10.0
Python Version
3.10.7
OS / Environment
Linux (Ubuntu 22.04)
Conda-provisioned Python
Describe the bug
Outer options become inner-options after operations on vectors:
>>> x = vector.awk([{"x": 1, "y": 0, "z": 0}])
>>> y = vector.awk([{"x": 0, "y": 1, "z": 0}])
>>> x.cross(y).type
1 * Vector3D["x": int64, "y": int64, "z": int64]
>>> x.mask[[False]].cross(y).type
1 * Vector3D["x": ?int64, "y": ?int64, "z": ?int64]
Steps to Reproduce
Wrap a vector in an option type, and then operate on it e.g. with cross
.
Expected Results
The option should survive outside the record.
Observed Results
The option moves inside the record.
Relevant log output
No response