SciML / DataDrivenDiffEq.jl

Data driven modeling and automated discovery of dynamical systems for the SciML Scientific Machine Learning organization
https://docs.sciml.ai/DataDrivenDiffEq/stable/
MIT License
405 stars 57 forks source link

The nonlinear pendulum examples fails on `solve` #236

Closed gzagatti closed 3 years ago

gzagatti commented 3 years ago

I am trying to run the example of the non-linear pendulum by just copying and pasting but it fails in:

res = solve(prob, basis, opt, progress = false, denoise = false, normalize = false, maxiter = 5000)

with the following error:

ArgumentError: offset arrays are not supported but got an array with index other than 1

My current environment includes the following packages:

 [0c46a032] DifferentialEquations v6.17.2
 [961ee093] ModelingToolkit v5.21.0
 [1dea7af3] OrdinaryDiffEq v5.59.3
 [91a5bcdd] Plots v1.16.8
 [37e2e46d] LinearAlgebra
AlCap23 commented 3 years ago

Encountered myself and fixed with #234 ;)

gzagatti commented 3 years ago

Nice, thanks!

AlCap23 commented 3 years ago

Should be good to go, once v.0.6.3 is released ( just started the process, it might take some time ).