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.
1 parent 9c3950a commit a8e30a8Copy full SHA for a8e30a8
src/RecursiveArrayTools.jl
@@ -45,7 +45,9 @@ module RecursiveArrayTools
45
recursivecopy!(a[i],x)
46
end
47
else
48
- if eltype(x) <: Number
+ if eltype(x) <: Number && x <: Array
49
+ # Have to check that it's <: Array or can have problems
50
+ # with abstract arrays like MultiScaleModels.
51
push!(a,copy(x))
52
53
push!(a,deepcopy(x))
0 commit comments