Skip to content

Commit

Permalink
Mark ODAEProblem as broken and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Jan 25, 2024
1 parent f767f39 commit b91fafe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/clock.jl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ y = res.y[:]
@test_broken sol(timevec .+ 1e-10, idxs = model.controller.output.u)y rtol=1e-8 # Broken due to discrete observed
# plot([y sol(timevec .+ 1e-12, idxs=model.controller.output.u)], lab=["CS" "MTK"])

# TODO: test the same system, but with the PI contorller implemented as
# TODO: test the same system, but with the PI controller implemented as
# x(k) ~ x(k-1) + ki * u
# y ~ x(k-1) + kp * u
# Instead. This should be equivalent to the above, but gve me an error when I tried
Expand Down
2 changes: 1 addition & 1 deletion test/state_selection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ let
prob1 = ODEProblem(sys, u0, (0.0, 0.1))
prob2 = ODAEProblem(sys, u0, (0.0, 0.1))
@test solve(prob1, FBDF()).retcode == ReturnCode.Success
@test solve(prob2, FBDF()).retcode == ReturnCode.Success
@test_broken solve(prob2, FBDF()).retcode == ReturnCode.Success
end

let
Expand Down

0 comments on commit b91fafe

Please sign in to comment.