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 a8e30a8 commit 9eaea85Copy full SHA for 9eaea85
src/RecursiveArrayTools.jl
@@ -45,7 +45,7 @@ module RecursiveArrayTools
45
recursivecopy!(a[i],x)
46
end
47
else
48
- if eltype(x) <: Number && x <: Array
+ if eltype(x) <: Number && typeof(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))
0 commit comments