You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function branches on some values and is therefore written specifically for Float64. It would probably be better to introduce a derivative rule for gammalogccdf. In particular when you computing the derivative with respect to x since it's then just -gammapdf(..., x)/gammaccdf(..., x)
I am getting the following error when I am trying to use ForwardDiff with Turing to sample Truncated Poisson distribution.
Which suggests that there is a problem with dispatch and perhaps types shouldn't be restricted to Float64.
The text was updated successfully, but these errors were encountered: