Skip to content

Commit 33c361e

Browse files
Merge branch 'initializesystem' of https://github.com/SciML/ModelingToolkit.jl into initializesystem
2 parents 7970cc1 + f2559ab commit 33c361e

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)