Skip to content

Commit c2365c2

Browse files
committed
minor change in commented code
1 parent 541a2ea commit c2365c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/univariate.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,7 @@ end
264264
# The code below doesn't work because of bugs in Zygote. The above is inefficient.
265265
#=
266266
ZygoteRules.@adjoint function poissonbinomial_pdf_fft(x::AbstractArray{<:Real})
267-
value, back = ZygoteRules.pullback(poissonbinomial_pdf_fft_zygote, x)
268-
return value, Δ -> back(Δ)
267+
return ZygoteRules.pullback(poissonbinomial_pdf_fft_zygote, x)
269268
end
270269
function poissonbinomial_pdf_fft_zygote(p::AbstractArray{T}) where {T <: Real}
271270
n = length(p)

0 commit comments

Comments
 (0)