Skip to content

Commit 7abc81d

Browse files
committed
Tests no longer rely on internal state
1 parent 8ec9a68 commit 7abc81d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/odesystem.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -375,13 +375,8 @@ let
375375
calculate_control_jacobian(sys)
376376

377377
@test isequal(
378-
ModelingToolkit.get_ctrl_jac(sys)[][1],
378+
calculate_control_jacobian(sys),
379379
reshape(Num[0,1], 2, 1)
380380
)
381381

382-
@test isequal(
383-
ModelingToolkit.get_ctrl_jac(sys)[][1],
384-
calculate_control_jacobian(sys)
385-
)
386-
387382
end

0 commit comments

Comments
 (0)