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 19b71ed commit df6d8bbCopy full SHA for df6d8bb
src/utils.jl
@@ -1,8 +1,8 @@
1
-function recursivecopy!{T<:Number,N}(b::Array{T,N},a::Array{T,N})
+function recursivecopy!{T<:Number,N}(b::AbstractArray{T,N},a::AbstractArray{T,N})
2
@inbounds copy!(b,a)
3
end
4
5
-function recursivecopy!{T<:AbstractArray,N}(b::Array{T,N},a::Array{T,N})
+function recursivecopy!{T<:AbstractArray,N}(b::AbstractArray{T,N},a::AbstractArray{T,N})
6
@inbounds for i in eachindex(a)
7
recursivecopy!(b[i],a[i])
8
0 commit comments