-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase unittest
check_logcdf
coverage and fix issues with some di…
…stribution methods (#4393) * Change `check_logcdf` to test that values below or above domain are properly evaluated. Fix issues with `Uniform`, `HalfNormal`, `Gamma`, and `InverseGamma` distributions. * Add multiple value test for logcdf. Add more informative comment for Gamma and InverseGamma hack. Update Release note. * Update release note * Update docstrings with valid value types * Update RELEASE-NOTES.md * Add more informative comments and remove TODO * TypeError: format -> f-strings * Ignore finite upper limit in Nat domains. Move new checks to `check_logcdf`. * Use `tt.switch` in `DiscreteUniform` for hard boundary (addresses previously failing test in 32bit OS)
- Loading branch information
1 parent
a21fafa
commit acb8da0
Showing
4 changed files
with
133 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.