forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: stats: Reformulate loggamma._rvs to handle c << 1. (scipy#13349)
* BUG: stats: Reformulate loggamma._rvs to handle c << 1. Closes scipygh-11094. Several tests in test_morestats.py call loggamma.rvs to generate test data. These tests have hardcoded expected results that depend on the values in the input data. Because the stream of variates generated by loggamma.rvs has changed, those tests will fail if the input data is generated by loggamma.rvs. Instead, the data that was generated by a new function that takes the log of random variates from `stats.gamma.rvs`. Co-authored-by: Matt Haberland <[email protected]>
- Loading branch information
1 parent
bf9e262
commit 2e871e9
Showing
5 changed files
with
47 additions
and
15 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
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
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