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 1786bfe commit 9e18f12Copy full SHA for 9e18f12
src/lib/array.jl
@@ -75,7 +75,7 @@ _droplike(dy::Union{LinearAlgebra.Adjoint, LinearAlgebra.Transpose}, dxv::Abstra
75
@adjoint! setindex!(xs::AbstractArray, x...) = setindex!(xs, x...),
76
_ -> error("Mutating arrays is not supported -- called setindex!(::$(typeof(xs)), _...)")
77
78
-@adjoint! copyto!(args...) = copyto!(args...),
+@adjoint! copyto!(xs, args...) = copyto!(xs, args...),
79
_ -> error("Mutating arrays is not supported -- called copyto!(::$(typeof(xs)), _...)")
80
81
for f in [push!, pop!, pushfirst!, popfirst!]
0 commit comments