Skip to content

Commit a686605

Browse files
committed
format
1 parent b936248 commit a686605

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ext/MTKJuMPControlExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ Solve JuMPControlProblem. Arguments:
259259
260260
Returns a JuMPControlSolution, which contains both the model and the ODE solution.
261261
"""
262-
function DiffEqBase.solve(prob::JuMPControlProblem, jump_solver, ode_solver::Symbol; silent = false)
262+
function DiffEqBase.solve(
263+
prob::JuMPControlProblem, jump_solver, ode_solver::Symbol; silent = false)
263264
model = prob.model
264265
tableau_getter = Symbol(:construct, ode_solver)
265266
@eval tableau = $tableau_getter()

src/ModelingToolkit.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ export AnalysisPoint, get_sensitivity_function, get_comp_sensitivity_function,
348348
function FMIComponent end
349349

350350
include("systems/optimal_control_interface.jl")
351-
export AbstractOptimalControlProblem, JuMPControlProblem, InfiniteOptControlProblem, PyomoControlProblem, CasADiControlProblem
351+
export AbstractOptimalControlProblem, JuMPControlProblem, InfiniteOptControlProblem,
352+
PyomoControlProblem, CasADiControlProblem
352353
export OptimalControlSolution
353354

354355
end # module

0 commit comments

Comments
 (0)