Skip to content

Commit

Permalink
Merge pull request #541 from probcomp/fix-poisson-argument-grad
Browse files Browse the repository at this point in the history
Fix `has_argument_grads` for Poisson distribution.
  • Loading branch information
ztangent authored Sep 5, 2024
2 parents 81bb2cf + 02aed1d commit 5f8520b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modeling_library/distributions/poisson.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ end
is_discrete(::Poisson) = true

has_output_grad(::Poisson) = false
has_argument_grads(::Poisson) = (false,)
has_argument_grads(::Poisson) = (true,)

export poisson

0 comments on commit 5f8520b

Please sign in to comment.