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

MAINT: special.erf: use the x->-x symmetry #9351

Merged
merged 1 commit into from
Oct 6, 2018
Merged

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Oct 4, 2018

closes gh-9348.

@ev-br ev-br added scipy.special maintenance Items related to regular maintenance tasks labels Oct 4, 2018
Copy link
Contributor

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a very clean fix: no old tests modified (just white space), only a new test added & it is a pass for the exact scenario reported in the linked issue.

Sounds like there are people who depend on the symmetry of the function so +1 to merge as it seems useful.

@pv pv merged commit 9109a70 into scipy:master Oct 6, 2018
@pv pv added this to the 1.2.0 milestone Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.special
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong values from scipy.special.erf (erf(x) != -erf(-x))
3 participants