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

ERROR: MethodError: no method matching make_seed(::Float64, ::Float64, ::Int64) #84

Closed
zahachtah opened this issue Nov 8, 2024 · 1 comment

Comments

@zahachtah
Copy link

zahachtah commented Nov 8, 2024

Just plugging in the example from documentation gives this error from line

derivative(sin, x, 10) # scalar derivative

@tansongchen
Copy link
Member

The examples are a bit outdated. As of v0.3.0, the order information need to be wrapped with Val(), like

derivative(sin, x, Val(10))

Thanks for pointing this out and I will be fixing that soon!

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

No branches or pull requests

2 participants