Skip to content

Commit f2559ab

Browse files
Update test/odesystem.jl
1 parent f85b219 commit f2559ab

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
@@ -300,7 +300,7 @@ prob3 = ODEProblem(sys, u0, tspan, p, jac = true, sparse = true) #SparseMatrixCS
300300
@test prob3.f.jac_prototype isa SparseMatrixCSC
301301
prob3 = ODEProblem(sys, u0, tspan, p, jac = true, sparsity = true)
302302
@test prob3.f.sparsity isa SparseMatrixCSC
303-
@test_throws DimensionMismatch ODEProblem(sys, zeros(5), tspan, p)
303+
@test_throws ArgumentError ODEProblem(sys, zeros(5), tspan, p)
304304
for (prob, atol) in [(prob1, 1e-12), (prob2, 1e-12), (prob3, 1e-12)]
305305
local sol
306306
sol = solve(prob, Rodas5())

0 commit comments

Comments
 (0)