Skip to content

Commit 810c633

Browse files
committed
remove resolved TODO comment
1 parent 0ff449a commit 810c633

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rulesets/Base/array.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ _instantiate_zeros(ẋs::AbstractArray{<:AbstractArray}, xs) = ẋs
8888
function frule((_, ẏ, ẋ), ::typeof(copyto!), y::AbstractArray, x)
8989
ifisa AbstractZero
9090
# it's allowed to have an imutable zero tangent for ẏ as long as ẋ is zero
91-
# TODO should this be handled here or in the AD?
9291
@assert iszero(ẋ)
9392
else
9493
copyto!(ẏ, ẋ)

0 commit comments

Comments
 (0)