Skip to content

Commit 1476779

Browse files
test: fix mass matrix tests
1 parent 6c8acb6 commit 1476779

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
@@ -10,7 +10,7 @@ eqs = [D(y[1]) ~ -k[1] * y[1] + k[3] * y[2] * y[3],
1010

1111
@named sys = System(eqs, t, collect(y), [k])
1212
sys = complete(sys)
13-
@test_throws ArgumentError System(eqs, y[1])
13+
@test_throws ModelingToolkit.OperatorIndepvarMismatchError System(eqs, y[1])
1414
M = calculate_massmatrix(sys)
1515
@test M == [1 0 0
1616
0 1 0

0 commit comments

Comments
 (0)