Skip to content

Commit b5a6c19

Browse files
committed
Fix test error
1 parent d7137c3 commit b5a6c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mass_matrix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ eqs = [D(y[1]) ~ -k[1]*y[1] + k[3]*y[2]*y[3],
99
0 ~ y[1] + y[2] + y[3] - 1]
1010

1111
sys = ODESystem(eqs,t,y,k)
12-
@test_throws ArgumentError ODESystem(eqs,y)
12+
@test_throws ArgumentError ODESystem(eqs,y[1])
1313
M = calculate_massmatrix(sys)
1414
@test M == [1 0 0
1515
0 1 0

0 commit comments

Comments
 (0)