Skip to content

Commit cf1ea3f

Browse files
Update odesystem.jl
1 parent caf4e74 commit cf1ea3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/odesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ D = Differential(t)
356356
eqs = [D(x1) ~ -x1]
357357
@named sys = ODESystem(eqs,t,[x1,x2],[])
358358
@test_throws ArgumentError ODEProblem(sys, [1.0,1.0], (0.0,1.0))
359-
prob = ODEProblem(sys, [1.0,1.0], (0.0,1.0), check_length=false)
359+
@test_throws DimensionMismatch ODEProblem(sys, [1.0,1.0], (0.0,1.0), check_length=false)
360360

361361
# check inputs
362362
let

0 commit comments

Comments
 (0)