I am using DifferentialEquations.jl in a Julia Notebook. The code starts as:
using DifferentalEquations
using ParameterizedFunctions
sir_ode = @ode_def SIRModel begin
dS = -β*S*I
dI = β*S*I-γ*I
dR = γ*I
end β γ
When executed, I get the error:
UndefVarError: @ode_def not defined
That does not seem possible. What can I do about it? Thanks.
4 posts - 2 participants