Skip to content

Commit aed4a9c

Browse files
committed
mark regressed tests
1 parent 498b4e9 commit aed4a9c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/sciml_struct_interfacing.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ end
9494

9595
# Tests problem indexing and updating.
9696
let
97-
for (prob, sys) in zip([deepcopy(problems); deepcopy(eproblems)], [deepcopy(systems); deepcopy(esystems)])
97+
@test_broken false # Currently does not work for nonlinearproblems and their ensemble problems (https://github.com/SciML/SciMLBase.jl/issues/720).
98+
# for (prob, sys) in zip([deepcopy(problems); deepcopy(eproblems)], [deepcopy(systems); deepcopy(esystems)])
99+
for (prob, sys) in zip([deepcopy([oprob, sprob, dprob, jprob, ssprob]); deepcopy([eoprob, esprob, edprob, ejprob, essprob])], [deepcopy([osys, ssys, jsys, jsys, osys]); deepcopy([osys, ssys, jsys, jsys, osys])])
98100
# Get u values (including observables).
99101
@test prob[X] == prob[sys.X] == prob[:X] == 4
100102
@test prob[XY] == prob[sys.XY] == prob[:XY] == 9
@@ -283,7 +285,8 @@ let
283285

284286
# Handles nonlinear and steady state solutions differently.
285287
let
286-
for (sol, sys) in zip(deepcopy([nsol, sssol]), [nsys, osys])
288+
@test_broken false # Currently a problem for nonlinear solutions and steady state solutions (https://github.com/SciML/SciMLBase.jl/issues/720).
289+
for (sol, sys) in zip(deepcopy([]), []) # zip(deepcopy([nsol, sssol]), [nsys, osys])
287290
# Get u values.
288291
@test sol[X] == sol[sys.X] == sol[:X]
289292
@test sol[XY] == sol[sys.XY][1] == sol[:XY]

0 commit comments

Comments
 (0)