Skip to content

Commit 5f8520b

Browse files
authored
Merge pull request #541 from probcomp/fix-poisson-argument-grad
Fix `has_argument_grads` for Poisson distribution.
2 parents 81bb2cf + 02aed1d commit 5f8520b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modeling_library/distributions/poisson.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ end
2424
is_discrete(::Poisson) = true
2525

2626
has_output_grad(::Poisson) = false
27-
has_argument_grads(::Poisson) = (false,)
27+
has_argument_grads(::Poisson) = (true,)
2828

2929
export poisson

0 commit comments

Comments
 (0)