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 8a4eec1 + 5345a6e commit f175b0aCopy full SHA for f175b0a
src/array.jl
@@ -17,3 +17,7 @@ canonicalize(::Caches, p::Array) = nothing, nothing, nothing
17
canonicalize(::Discrete, p::Array) = nothing, nothing, nothing
18
19
isscimlstructure(::Array) = true
20
+
21
+function SciMLStructures.replace(::SciMLStructures.Tunable, arr::AbstractArray, new_arr::AbstractArray)
22
+ reshape(new_arr, size(arr))
23
+end
0 commit comments