We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed51a45 commit b3b7be6Copy full SHA for b3b7be6
test/structural_transformation/tearing.jl
@@ -218,8 +218,8 @@ u0 = [mass.s => 0.0
218
mass.v => 1.0]
219
220
sys = structural_simplify(ms_model)
221
-@test sys.jac[] === ModelingToolkit.EMPTY_JAC
222
-@test sys.tgrad[] === ModelingToolkit.EMPTY_TGRAD
+@test ModelingToolkit.get_jac(sys)[] === ModelingToolkit.EMPTY_JAC
+@test ModelingToolkit.get_tgrad(sys)[] === ModelingToolkit.EMPTY_TGRAD
223
prob_complex = ODAEProblem(sys, u0, (0, 1.0))
224
sol = solve(prob_complex, Tsit5())
225
@test all(sol[mass.v] .== 1)
0 commit comments