Skip to content
New issue

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

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

Already on GitHub? # to your account

differentiate with π failed #309

Closed
chengchingwen opened this issue Aug 21, 2019 · 1 comment
Closed

differentiate with π failed #309

chengchingwen opened this issue Aug 21, 2019 · 1 comment

Comments

@chengchingwen
Copy link
Member

I get an ERROR: MethodError: no method matching Irrational{:π}(::Int64) error with try to differentiate a function with π.

MWE:

f(x) = x/π
f'(0.5)
@MikeInnes
Copy link
Member

Not sure what changed, but this seems to work on master.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants