Skip to content

Commit 5f42ff6

Browse files
committed
comment
1 parent f45e0ef commit 5f42ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ ProjectTo(::Any) = identity
128128
ProjectTo(::AbstractZero) = ProjectTo{NoTangent}() # Any x::Zero in forward pass makes this one projector,
129129
(::ProjectTo{NoTangent})(dx) = NoTangent() # but this is the projection only for nonzero gradients,
130130
(::ProjectTo{NoTangent})(dx::AbstractZero) = dx # and this one solves an ambiguity.
131-
(::ProjectTo{NoTangent})(::AbstractThunk) = NoTangent() # https://github.com/JuliaDiff/ChainRulesCore.jl/issues/685
131+
(::ProjectTo{NoTangent})(::AbstractThunk) = NoTangent() # #685
132132
(::ProjectTo{NoTangent})(::Thunk) = NoTangent()
133133

134134
# Also, any explicit construction with fields, where all fields project to zero, itself

0 commit comments

Comments
 (0)