sunode icon indicating copy to clipboard operation
sunode copied to clipboard

Errors in tutorial

Open yoavram opened this issue 2 years ago • 0 comments

When running the tutorial code (https://sunode.readthedocs.io/en/latest/without_pymc.html) I get the following error from this line:

solver = sunode.solver.Solver(problem, compute_sens=False, solver='BDF')
> __init__() got an unexpected keyword argument 'compute_sens'

And also the following error:

plt.plot(output.view(tvals, problem.state_dtype)['hares'])
> ValueError: Type must be a sub-type of ndarray type

I use: sundials 5.8.0 h7ddfbfd_0 conda-forge sunode 0.3.0 py38h5e27569_0 conda-forge

yoavram avatar Dec 27 '22 10:12 yoavram