Skip to content

Commit 20cbc75

Browse files
committed
up
1 parent 5da15fe commit 20cbc75

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

test/reactionsystem_core/reactionsystem.jl

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,17 @@ let
156156
G2 = sf.g(sprob.u0, sprob.p, 0.0)
157157
@test norm(G - G2) < 100 * eps()
158158

159-
# Test conversion to NonlinearSystem.
160-
ns = convert(NonlinearSystem, rs)
161-
nlprob = NonlinearProblem(rs, u, p)
162-
fnl = eval(generate_function(ns)[2])
163-
dunl = similar(du)
164-
@test_broken let # The next line throws an error.
165-
fnl(dunl, nlprob.u0, nlprob.p)
166-
@test norm(du - dunl) < 100 * eps()
167-
end
159+
# Test conversion to NonlinearSystem. Permanently broken as we no longer permit non-autonomous
160+
# `ReactionSystem`s to be converted to `NonlinearSystem`s.
161+
@test_broken false
162+
# ns = convert(NonlinearSystem, rs)
163+
# nlprob = NonlinearProblem(rs, u, p)
164+
# fnl = eval(generate_function(ns)[2])
165+
# dunl = similar(du)
166+
# @test_broken let # The next line throws an error.
167+
# fnl(dunl, nlprob.u0, nlprob.p)
168+
# @test norm(du - dunl) < 100 * eps()
169+
# end
168170
end
169171

170172
# Test with JumpSystem.

0 commit comments

Comments
 (0)