Skip to content

Commit c6a0fca

Browse files
authored
Update src/utils.jl
1 parent b22a76d commit c6a0fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ end
3232

3333
function recursivecopy!(b::AbstractArray{T,N},a::AbstractArray{T2,N}) where {T<:AbstractArray,T2<:AbstractArray,N}
3434
if ArrayInterface.ismutable(T)
35-
@inbounds for i in eachindex(a)
35+
@inbounds for i in eachindex(b, a)
3636
recursivecopy!(b[i], a[i])
3737
end
3838
else

0 commit comments

Comments
 (0)