Closed marius311 closed 2 months ago
It looks like this is specifically only broken with matrices and higher-dimensional array components because of a missing method for _maybe_view_axis(::Any, ::ShapedAxis)
. Let me see if it's a pretty straightforward fix...
Fix ended up being pretty simple. We were doing ::Axis
for that method when it really needed to be ::AbstractAxis
.
Would be convenient if this worked and returned a new ComponentArray with just the x and y components, ComponentArrays 0.15.11:
Fwiw this works with scalar components eg if
c = ComponentVector(x=2, y=3, z=4)