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 b22a76d commit c6a0fcaCopy full SHA for c6a0fca
src/utils.jl
@@ -32,7 +32,7 @@ end
32
33
function recursivecopy!(b::AbstractArray{T,N},a::AbstractArray{T2,N}) where {T<:AbstractArray,T2<:AbstractArray,N}
34
if ArrayInterface.ismutable(T)
35
- @inbounds for i in eachindex(a)
+ @inbounds for i in eachindex(b, a)
36
recursivecopy!(b[i], a[i])
37
end
38
else
0 commit comments