We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5fe0cb0 + f175b0a commit 41cbd8cCopy full SHA for 41cbd8c
src/array.jl
@@ -23,3 +23,7 @@ canonicalize(::Caches, p::AbstractArray) = nothing, nothing, nothing
23
canonicalize(::Discrete, p::AbstractArray) = nothing, nothing, nothing
24
25
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