Skip to content

Commit 0501f6e

Browse files
committed
broken test fixed
1 parent ce12c32 commit 0501f6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/programmatic_model_creation/component_based_model_creation.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ let
348348
end
349349

350350
# Test throw error if there are ODE constraints and convert to NonlinearSystem.
351+
# Note, these can now be created.
351352
let
352353
rn = @reaction_network rn begin
353354
@parameters k1 k2
@@ -362,7 +363,7 @@ let
362363
rn2 = extend(osys, rn)
363364
rn2 = complete(rn2)
364365
rnodes = complete(convert(ODESystem, rn2))
365-
@test_throws ErrorException convert(NonlinearSystem, rn2)
366+
# @test_throws ErrorException convert(NonlinearSystem, rn2)
366367

367368
# Ensure right number of equations are generated.
368369
@variables G(t)

0 commit comments

Comments
 (0)