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

Speed up calculation of zeros #20

Merged
merged 2 commits into from
Jan 25, 2021
Merged

Conversation

sethaxen
Copy link
Collaborator

Roots.jl has two interfaces for computing zeros that behave slightly differently. This PR adopts the other interface. I tested for a wide range of values, and this implementation is 1.5x to 4.5x faster than the one we were using before and the resulting zeros are approximately equal.

Copy link
Owner

@chrisbrahms chrisbrahms left a comment

Choose a reason for hiding this comment

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

I should've seen this in the first version! I've actually run into this in another context as well.

@chrisbrahms chrisbrahms merged commit 1b95455 into chrisbrahms:master Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants