Hi Everyone: the SciML ecosystem looks amazing. I’m just getting started with both Julia and these packages. The tutorial DiffEqOperators gives the following error:
Lines
# Method of lines discretization
dx = 0.1
order = 2
discretization = MOLFiniteDifference([x=>dx],t)
# Convert the PDE problem into an ODE problem
prob = discretize(pdesys,discretization)
Error
TypeError: in isa, expected Type, got a value of type typeof(IntervalDomain)
Stacktrace:
[1] symbolic_discretize(pdesys::PDESystem, discretization::MOLFiniteDifference{Vector{Pair{Num, Float64}}, Num})
@ DiffEqOperators C:\Users\greg.julia\packages\DiffEqOperators\6CWxd\src\MOLFiniteDifference\MOL_discretization.jl:48
[2] discretize(pdesys::PDESystem, discretization::MOLFiniteDifference{Vector{Pair{Num, Float64}}, Num})
@ DiffEqOperators C:\Users\greg.julia\packages\DiffEqOperators\6CWxd\src\MOLFiniteDifference\MOL_discretization.jl:350
[3] top-level scope
@ In[13]:2
[4] eval
@ .\boot.jl:360 [inlined]
[5] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1094
Hopefully it is helpful for me to post this here. Let me know if there is a fix.
Thanks!