Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix prior sampling with prior_trunc #997
For the inverse gamma in case of bound violations, sampling instead comes from the inverse gamma I distribution. This yields incorrect results and may result in (almost) infinite loops.
For the uniform distribution,