Skip to content

Commit ea535aa

Browse files
committed
Added test.
1 parent 1c4b5e5 commit ea535aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/odesystem.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ eqs = [
328328
]
329329
@test_throws ArgumentError ODESystem(eqs,t,vars,pars)
330330

331+
#Issue 1063/998
332+
pars =[t]
333+
vars = @variables((u1(t),))
334+
@test_throws ArgumentError ODESystem(eqs,t,vars,pars)
335+
331336
@variables x(t)
332337
D = Differential(t)
333338
@parameters M b k

0 commit comments

Comments
 (0)