Skip to content

Conversation

person142
Copy link
Member

Take two of #8058; opened a new PR because the approach is different.

Roughly speaking this breaks up the test points into linearly-spaced points in [-10, 10], log-spaced points near 0, and log-spaced points for large arguments while making sure endpoints are included and exactly the desired number of points is returned.

Closes gh-7924.

This fixes a couple of things:

- Before the `TestSystematic` tests in `test_mpmath` could severely
  overestimate the desired number of points.
- Before the spread of points returned from `Arg` could be fairly
  different than what was requested.

Closes scipygh-7924.
@person142 person142 added scipy.special maintenance Items related to regular maintenance tasks labels Oct 28, 2017
@pv pv merged commit 5182dd7 into scipy:master Feb 7, 2018
@pv
Copy link
Member

pv commented Feb 7, 2018

Thanks, let's get this in also.

@pv pv added this to the 1.1.0 milestone Feb 7, 2018
@person142 person142 deleted the arg2 branch November 12, 2019 05:01
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.

2 participants