Skip to content

Commit 41cbd8c

Browse files
Merge branch 'main' into dg/abstract
2 parents 5fe0cb0 + f175b0a commit 41cbd8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/array.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ canonicalize(::Caches, p::AbstractArray) = nothing, nothing, nothing
2323
canonicalize(::Discrete, p::AbstractArray) = nothing, nothing, nothing
2424

2525
isscimlstructure(::AbstractArray) = true
26+
27+
function SciMLStructures.replace(::SciMLStructures.Tunable, arr::AbstractArray, new_arr::AbstractArray)
28+
reshape(new_arr, size(arr))
29+
end

0 commit comments

Comments
 (0)