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 in Nonlinear Time Continuous Problem Tutorial #375

Open
iliailmer opened this issue Sep 26, 2022 · 5 comments
Open

Error in Nonlinear Time Continuous Problem Tutorial #375

iliailmer opened this issue Sep 26, 2022 · 5 comments
Milestone

Comments

@iliailmer
Copy link

When running code from this tutorial, I run into an error at the step defining ContinuousDataDrivenProblem:

> prob = ContinuousDataDrivenProblem(solution)

The error is:

ERROR:"No matching function wrapper was found!"
....

I followed the tutorial step-by-step, here are the package versions I have:

  [2445eb08] DataDrivenDiffEq v0.8.5
  [0c46a032] DifferentialEquations v7.4.0
  [f213a82b] HomotopyContinuation v2.6.4
  [961ee093] ModelingToolkit v8.23.0
  [1dea7af3] OrdinaryDiffEq v6.27.2
  [91a5bcdd] Plots v1.34.1
  [f27b6e38] Polynomials v3.2.0
  [cf7bdac0] SIAN v1.3.1
  [220ca800] StructuralIdentifiability v0.4.1

What could be the issue here?

@ChrisRackauckas
Copy link
Member

It would probably help to do: problem = ODEProblem{true, SciMLBase.FullSpecialize}(slow_manifold, u0, tspan, p). That should be done internally to DataDrivenDiffEq.jl

See https://sciml.ai/news/2022/09/21/compile_time/ for details.

@iliailmer
Copy link
Author

Thank you, it helped! I still get a Koopman error, I think it's similar to #370 .

@bgroenks96
Copy link

I also got this (resolved by specifying FullSpecialize) and the same error from #370.

@ChrisRackauckas
Copy link
Member

Yeah, we need to make it so that DataDrivenDiffEq does it automatically internal to the package, I just haven't gotten around to it.

@AlCap23 AlCap23 added this to the 1.0 milestone Oct 25, 2022
@AlCap23
Copy link
Collaborator

AlCap23 commented Nov 24, 2022

On that note: Creating a problem from a DESolution without using the interpolation sometimes fails given that I attempt to call the fully specialised function.

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

4 participants