Skip to content

Commit 47dfccf

Browse files
Update tearing.jl
1 parent c646d99 commit 47dfccf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/structural_transformation/tearing.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ ms_eqs = []
214214

215215
calculate_jacobian(ms_model)
216216
calculate_tgrad(ms_model)
217-
calculate_control_jacobian(ms_model)
217+
218218
# Mass starts with velocity = 1
219219
u0 = [
220220
mass.s => 0.0
@@ -224,7 +224,6 @@ u0 = [
224224
sys = structural_simplify(ms_model)
225225
@test sys.jac[] === ModelingToolkit.EMPTY_JAC
226226
@test sys.tgrad[] === ModelingToolkit.EMPTY_TGRAD
227-
@test sys.ctrl_jac[] === ModelingToolkit.EMPTY_JAC
228227
prob_complex = ODAEProblem(sys, u0, (0, 1.0))
229228
sol = solve(prob_complex, Tsit5())
230229
@test all(sol[mass.v] .== 1)

0 commit comments

Comments
 (0)