Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

@ode_def not defined

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles