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

SciML UDE tutorial code breaks in Julia 1.10 #1012

Closed
carlosmaria opened this issue Jan 9, 2024 · 1 comment
Closed

SciML UDE tutorial code breaks in Julia 1.10 #1012

carlosmaria opened this issue Jan 9, 2024 · 1 comment
Labels

Comments

@carlosmaria
Copy link

Describe the bug 🐞

I'm encountering a bug in the UDE tutorial code located at https://docs.sciml.ai/Overview/stable/showcase/missing_physics/ when using Julia 1.10. The tutorial works fine up to version 1.9.

Expected behavior

The tutorial works fine up to version 1.9.

Steps to reproduce:

The error occurs running your tutorial code at https://docs.sciml.ai/Overview/stable/showcase/missing_physics/

  • Follow the UDE tutorial code at the provided link.
  • Use Julia 1.10.
  • The error will occur at the line res1 = Optimization.solve(optprob, ADAM(), callback = callback, maxiters = 5000).
  • It produces a MethodError at Optimization.OptimizationState.

Additional context

The code works fine up to version 1.9 in Windows 10.

Thank you for your attention to this matter.

@carlosmaria carlosmaria added the bug label Jan 9, 2024
@carlosmaria carlosmaria changed the title UDE tutorial code breaks in Julia 1.10 SciML UDE tutorial code breaks in Julia 1.10 Jan 9, 2024
@carlosmaria
Copy link
Author

I'm pleased to report that the bug appears to be fixed after updating OptimizationOptimisers from v0.2.0 to the new v0.2.1.

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

No branches or pull requests

1 participant