From b049203069c4b8835268fd68cea327184f957250 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Tue, 30 Jul 2024 15:16:37 -0400 Subject: [PATCH] use full_equations so ovservables work --- ext/MTKBifurcationKitExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/MTKBifurcationKitExt.jl b/ext/MTKBifurcationKitExt.jl index b709b2eec0..ca161d8c04 100644 --- a/ext/MTKBifurcationKitExt.jl +++ b/ext/MTKBifurcationKitExt.jl @@ -144,7 +144,7 @@ function BifurcationKit.BifurcationProblem(osys::ODESystem, args...; kwargs...) if !ModelingToolkit.iscomplete(osys) error("A completed `ODESystem` is required. Call `complete` or `structural_simplify` on the system before creating a `BifurcationProblem`") end - nsys = NonlinearSystem([0 ~ eq.rhs for eq in equations(osys)], + nsys = NonlinearSystem([0 ~ eq.rhs for eq in full_equations(osys)], unknowns(osys), parameters(osys); name = nameof(osys))