RecursiveArrayTools.jl icon indicating copy to clipboard operation
RecursiveArrayTools.jl copied to clipboard

Eliminate ArrayInterfaceStaticArrays Dependency

Open ChrisRackauckas opened this issue 3 years ago • 0 comments

See https://github.com/SciML/RecursiveArrayTools.jl/pull/205 for details, which has the MWE that was found.

There are two ways to do this. Either:

@generated function ArrayInterfaceCore.ismutable(::Type{<:ArrayPartition{T,S}}) where {T,S}
    res = all(ArrayInterfaceCore.ismutable, S.parameters)
    return :( $res )
end

that needs to be implemented differently so it respects back edges when StaticArrays' dispatches are added to ismutable, or ismutable needs to go to Base.

ChrisRackauckas avatar May 24 '22 14:05 ChrisRackauckas