Skip to content

Commit 5b03343

Browse files
authored
Merge pull request #261 from JuliaDiff/ox/isdefined-1
use zero_bundle for transform of isdefined
2 parents d87031b + 03fe603 commit 5b03343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/forward.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function fwd_transform!(ci, mi, nargs, N)
6060
# version.
6161
return nothing
6262
elseif isexpr(stmt, :isdefined)
63-
return Expr(:call, ZeroBundle{N}, emit!(stmt))
63+
return Expr(:call, zero_bundle{N}(), emit!(stmt))
6464
# Always disable `@inbounds`, as we don't actually know if the AD'd
6565
# code is truly `@inbounds` or not.
6666
elseif isexpr(stmt, :boundscheck)

0 commit comments

Comments
 (0)