Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: stats: Implement powerlaw._sf #17529

Merged
merged 1 commit into from Dec 8, 2022
Merged

Conversation

WarrenWeckesser
Copy link
Member

Use the new ufunc special.powm1 to provide an implementation of powerlaw._sf that maintains precision better than the default implementation.

The ufunc does not support complex input, so in the test file test_continuous_basic.py, powerlaw is added to the list of distributions to which the complex derivative test cannot be applied.

Use the new ufunc special.powm1 to provide an implementation
of powerlaw._sf that maintains precision better than the default
implementation.

The ufunc does not support complex input, so in the test file
test_continuous_basic.py, powerlaw is added to the list of
distributions to which the complex derivative test cannot be
applied.
@WarrenWeckesser WarrenWeckesser added scipy.stats enhancement A new feature or improvement labels Dec 3, 2022
@WarrenWeckesser
Copy link
Member Author

Something in the Cirrus CI script that runs the job musllinux_amd64_test is broken. The failure is not related to this pull request.

@mdhaber mdhaber merged commit d669e6e into scipy:main Dec 8, 2022
@WarrenWeckesser WarrenWeckesser added this to the 1.11.0 milestone Dec 8, 2022
@WarrenWeckesser WarrenWeckesser deleted the powerlaw-sf branch December 8, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement scipy.stats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants