You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make StructArrays broadcast aware
Fixes#89
* Limit circumstances in which broadcasting returns a StructArray
While allowing broadcasting to return a StructArray, this limits it to
cases where:
- no other arrays in the broadcast operation, including those wrapped by the
StructArray, have non-default BroadcastStyle
- the eltype returned from the function is a struct type
It should be straightforward to define precedence rules to handle other
cases, e.g., StructArrays of CuArrays.
* Add a test for custom-broadcasting internal arrays
* Embrace the MethodError
Co-authored-by: Keno Fischer <keno@alumni.harvard.edu>
0 commit comments