From 9596d4a5aa7d720296e0049eee58c6c727c5f4a0 Mon Sep 17 00:00:00 2001 From: Torkel Loman Date: Thu, 19 Dec 2024 18:14:55 +0000 Subject: [PATCH] update now working test --- test/reactionsystem_core/coupled_equation_crn_systems.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/reactionsystem_core/coupled_equation_crn_systems.jl b/test/reactionsystem_core/coupled_equation_crn_systems.jl index 9968eb05f3..0fe55c7c87 100644 --- a/test/reactionsystem_core/coupled_equation_crn_systems.jl +++ b/test/reactionsystem_core/coupled_equation_crn_systems.jl @@ -228,7 +228,7 @@ let Reaction(d, [X], []), Reaction(d, [X], nothing, [2], nothing), D(V) ~ X - v*V, - W^2 ~ log(V) + X + W^2 ~ log(V) + X ] @named coupled_rs = ReactionSystem(eqs, t) @@ -456,7 +456,7 @@ end # Checks that a coupled SDE + algebraic equations works. # Checks that structural_simplify is required to simulate coupled SDE + algebraic equations. -@test_broken let # SDEs are currently broken with structural simplify (https://github.com/SciML/ModelingToolkit.jl/issues/2614). +let # SDEs are currently broken with structural simplify (https://github.com/SciML/ModelingToolkit.jl/issues/2614). # Creates coupled reactions system. @parameters p d k1 k2 @species X(t) @@ -480,7 +480,7 @@ end # Checks the algebraic equation holds. sprob = SDEProblem(coupled_rs, u0, tspan, ps; structural_simplify = true) ssol = solve(sprob, ImplicitEM()) - @test 2 .+ ps[:k1] * ssol[:A] == 3 .+ ps[:k2] * ssol[:X] + @test_broken 2 .+ ps[k1] * ssol[:A] == 3 .+ ps[k2] * ssol[:X] end