Skip to content

Commit 36d2e17

Browse files
committed
up
1 parent e1b3a00 commit 36d2e17

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

test/reactionsystem_core/events.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ let
158158
]
159159

160160
# Declares various misformatted events .
161-
# Relevant MTK issue regarding misformatted events not throwing an early error https://github.com/SciML/ModelingToolkit.jl/issues/2612.
161+
@test_broken false # Some missformatted tests should throw error at this stage, but does not (https://github.com/SciML/ModelingToolkit.jl/issues/2612).
162162
continuous_events_bad = [
163163
X ~ 1.0 => [X ~ 0.5], # Scalar condition.
164164
[X ~ 1.0] => X ~ 0.5, # Scalar affect.

test/reactionsystem_core/reactionsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ let
235235
maj = MassActionJump(symmaj.param_mapper(pars), symmaj.reactant_stoch, symmaj.net_stoch,
236236
symmaj.param_mapper, scale_rates = false)
237237
for i in midxs
238-
@test_broken abs(jumps[i].scaled_rates - maj.scaled_rates[i]) < 100 * eps()
238+
@test_broken abs(jumps[i].scaled_rates - maj.scaled_rates[i]) < 100 * eps() # This (and next two) tests are broken due to the order in `maj` not being preserved.
239239
@test jumps[i].reactant_stoch == maj.reactant_stoch[i]
240240
@test jumps[i].net_stoch == maj.net_stoch[i]
241241
end
@@ -747,5 +747,5 @@ end
747747
# there are several places in the code where the `reactionsystem_uptodate` function is called, here
748748
# the code might need adaptation to take the updated reaction system into account.
749749
let
750-
@test_nowarn Catalyst.reactionsystem_uptodate_check()
750+
@test_nowarn Catalyst.reactionsystem_uptodate_check()
751751
end

test/upstream/mtk_problem_inputs.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ let
230230
if (ps == ps_valid) && (u0 == u0_valid)
231231
XProblem(xsys, u0, (0.0, 1.0), ps); @test true;
232232
else
233-
# Several of these cases do not throw errors (https://github.com/SciML/ModelingToolkit.jl/issues/2624).
234233
@test_broken false
235234
continue
236235
@test_throws Exception XProblem(xsys, u0, (0.0, 1.0), ps)

0 commit comments

Comments
 (0)