Skip to content

Commit c357042

Browse files
authored
Merge pull request #211 from control-toolbox/auto-juliaformatter-pr
[AUTO] JuliaFormatter.jl run
2 parents b33104c + 90580e6 commit c357042

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/solution.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,15 @@ function Base.show(io::IO, ::MIME"text/plain", sol::Solution)
711711

712712
# Variable (si définie)
713713
if variable_dimension(sol) > 0
714-
println(io, "\n• Variable: ", variable_name(sol), " = (", join(variable_components(sol), ", "), ") = ", variable(sol))
714+
println(
715+
io,
716+
"\n• Variable: ",
717+
variable_name(sol),
718+
" = (",
719+
join(variable_components(sol), ", "),
720+
") = ",
721+
variable(sol),
722+
)
715723
if dim_variable_constraints_box(model(sol)) > 0
716724
println(io, " │ Var dual (lb) : ", variable_constraints_lb_dual(sol))
717725
println(io, " └─ Var dual (ub) : ", variable_constraints_ub_dual(sol))

test/extras/print_model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ ocp
1313

1414
pre_ocp
1515

16-
sol
16+
sol

0 commit comments

Comments
 (0)