From b61ce4ae988febc0aa2976852652aa2d7afd31ac Mon Sep 17 00:00:00 2001 From: Torkel Loman Date: Sun, 17 Nov 2024 13:56:58 +0000 Subject: [PATCH] up --- src/dsl.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dsl.jl b/src/dsl.jl index 3800155301..948d493be8 100644 --- a/src/dsl.jl +++ b/src/dsl.jl @@ -794,9 +794,7 @@ function read_observed_options(options, species_n_vars_declared, ivs_sorted) ivs_get_expr_sorted = :(sort($(ivs_get_expr); by = iv -> findfirst(MT.getname(iv) == ivs for ivs in $ivs_sorted))) - ivs_get_expr_sorted = :([τ, x]) - println(ivs_get_expr_sorted) - obs_expr = insert_independent_variable(obs_eq.args[2], :(([τ, x])...)) + obs_expr = insert_independent_variable(obs_eq.args[2], :($ivs_get_expr_sorted...)) push!(observed_vars.args[1].args, obs_expr) end