Closed marius311 closed 1 year ago
Oh, yeah it looks like we need to put a single argument of CombinedAxis
before the Vararg
to avoid type piracy here.
Maybe this breaks some other thing I'm not aware of since I'm not familiar with the CA code but maybe another (better?) solution is first arg should be ::ComponentArray? Looking at e.g. Base and CUDA their defintions both have a ::NTuple{N,Int} second arg but a concrete first arg?
Now that I'm looking back at this, this reshape
method was introduced because the reshape
method of OffsetArrays
commits some type piracy and broke some things, I think. I'm going to just undo that completely and point people toward OffsetArrays
when things break.
It looks like whatever was broken before isn't broken now, so... 🤷🏼
ComponentArrays v0.13.8, Julia 1.8.5