From 7b1f09427a7008f69e7d345a0255ebfb6399ba9a Mon Sep 17 00:00:00 2001 From: pogudingleb Date: Tue, 14 Nov 2023 20:40:55 +0100 Subject: [PATCH] fixing the ordering in the discrete case --- src/discrete.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discrete.jl b/src/discrete.jl index e35a74c15..3e84cafc9 100644 --- a/src/discrete.jl +++ b/src/discrete.jl @@ -331,8 +331,8 @@ function assess_local_identifiability( dds_aux, conversion = mtk_to_si(dds, measured_quantities) if length(funcs_to_check) == 0 funcs_to_check = vcat( - parameters(dds), [x for x in states(dds) if conversion[x] in dds_aux.x_vars], + parameters(dds), ) end funcs_to_check_ = [eval_at_nemo(x, conversion) for x in funcs_to_check]