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

handle irrational constants by casting to float #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

birm
Copy link

@birm birm commented Mar 11, 2020

eps(n) and thus finite_difference(<>,n) and its friends fail for n of irrational type. It's certainly an edge case, but we can do a quick conversion to float for these (pi, catalan, etc)

closes #144

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.

Gradients, second derivatives and hessians at pi not working
1 participant