Open
Description
I am getting the following error when I am trying to use ForwardDiff with Turing to sample Truncated Poisson distribution.
ERROR: MethodError: no method matching _gammalogccdf(::ForwardDiff.Dual{ForwardDiff.Tag{Turing.TuringTag, Float64}, Float64, 8}, ::ForwardDiff.Dual{ForwardDiff.Tag{Turing.TuringTag, Float64}, Float64, 8}, ::ForwardDiff.Dual{ForwardDiff.Tag{Turing.TuringTag, Float64}, Float64, 8})
Stacktrace:
[1] gammalogccdf(k::Int64, θ::Int64, x::ForwardDiff.Dual{ForwardDiff.Tag{Turing.TuringTag, Float64}, Float64, 8})
Which suggests that there is a problem with dispatch and perhaps types shouldn't be restricted to Float64.
Metadata
Metadata
Assignees
Labels
No labels
Activity