From 4d02ba26048bb77f095c869270bc0340cfae015a Mon Sep 17 00:00:00 2001 From: Vincent Du <54586336+vyudu@users.noreply.github.com> Date: Sat, 16 Nov 2024 10:19:05 -0500 Subject: [PATCH] Update src/dsl.jl Co-authored-by: Sam Isaacson --- src/dsl.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsl.jl b/src/dsl.jl index 0e3b4ee59c..f7dc40d468 100644 --- a/src/dsl.jl +++ b/src/dsl.jl @@ -716,7 +716,7 @@ function read_equations_options(options, variables_declared; noinfer = false) if in(diff_var, forbidden_symbols_error) error("A forbidden symbol ($(diff_var)) was used as an variable in this differential equation: $eq") elseif (!in(diff_var, variables_declared)) && noinfer - error("Unrecognized symbol $(diff_var) was used as a variable in this differential equation. Since the @no_infer flag is set, all variables in equations must be explicitly declared via @variables, @species, or @parameters.") + error("Unrecognized symbol $(diff_var) was used as a variable in an equation. Since the @no_infer flag is set, all variables in equations must be explicitly declared via @variables, @species, or @parameters.") else add_default_diff = true in(diff_var, variables_declared) || push!(vars_extracted, diff_var)