Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Few errors when running examples #323

Closed
Mrc010 opened this issue Jan 26, 2021 · 4 comments
Closed

Few errors when running examples #323

Mrc010 opened this issue Jan 26, 2021 · 4 comments

Comments

@Mrc010
Copy link

Mrc010 commented Jan 26, 2021

When I was trying to run the Examples I kept on getting the error discretize not defined until I found that it's a function of the OrdinaryDiffEq package which is called after the function is called.

Also, for the part

for i in 1:length(t)
    plot!(x,Array(prob.extrapolation[1](t[i])*sol.u[i]),label="Numerical, t=$(t[i])")
    scatter!(x, u_exact(x, t[i]),label="Exact, t=$(t[i])")
end

I get a MethodError: no method matching SparseMatrixCSC(::RobinBC{Float64,Array{Float64,1}}).

I'm using Julia Version 1.4.2 (2020-05-23)

@Mrc010 Mrc010 changed the title Small mistake in examples Few errors when running examples Jan 26, 2021
@ChrisRackauckas
Copy link
Member

It probably requires Julia v1.5. But we should put a WIP note on that example: that's part of the unreleased interface for auto PDE solving. Exciting, but not complete.

@ChrisRackauckas
Copy link
Member

I made the docs much more clear about what's a work in progress. This piece is definitely not ready for the average user. I also cleaned up the docs a bunch and added the required using OrdinaryDiffEq there, but I think this was missing a test and regressed.

@Mrc010
Copy link
Author

Mrc010 commented Jan 27, 2021

It probably requires Julia v1.5. But we should put a WIP note on that example: that's part of the unreleased interface for auto PDE solving. Exciting, but not complete.

Getting the same error with Julia Version 1.5.3 (2020-11-09).

Edit: After ] update, the error disappeared.

@ChrisRackauckas
Copy link
Member

Fixed.

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

No branches or pull requests

2 participants