Skip to content

Commit 10039f0

Browse files
Update src/compat/ad.jl
Co-authored-by: David Widmann <[email protected]>
1 parent 4bc1103 commit 10039f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat/ad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ZygoteRules.@adjoint function push!(
77
dist::Distribution,
88
gidset::Set{Selector}
99
)
10-
return push!(vi, vn, r, dist, gidset), _ -> ntuple(_ -> nothing, 5)
10+
return push!(vi, vn, r, dist, gidset), _ -> nothing
1111
end
1212

1313
ZygoteRules.@adjoint function Threads.nthreads()

0 commit comments

Comments
 (0)