Skip to content

Commit a643d7f

Browse files
committed
Generalize to AbstractZeroBundle
1 parent 6d72fe2 commit a643d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stage1/forward.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function (::∂☆{N})(f::ATB{N, typeof(tuple)}, args::AbstractTangentBundle{N}.
257257
∂vararg{N}()(args...)
258258
end
259259

260-
function (::∂☆{N})(f::ATB{N, typeof(tuple)}, args::ZeroBundle{N}...) where {N}
260+
function (::∂☆{N})(f::ATB{N, typeof(tuple)}, args::AbstractZeroBundle{N}...) where {N}
261261
ZeroBundle{N}(map(primal, args)) # special fast case
262262
end
263263

0 commit comments

Comments
 (0)