Skip to content

Commit 11e2a62

Browse files
committed
🤖 Format .jl files
1 parent 356eef3 commit 11e2a62

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/demo-cutest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ callback =
4343
stats = AL(nlp, h, atol = 1e-6, verbose = 1, callback = callback)
4444
print(stats)
4545

46-
finalize(nlp)
46+
finalize(nlp)

src/AL_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,4 +383,4 @@ project_y!(nlp::AugLagModel) = project_y!(nlp::AugLagModel, -1e20, 1e20)
383383
function project_y!(nlp::AugLagModel, ymin::V, ymax::V) where {V}
384384
nlp.y .= max.(ymin, min.(nlp.y, ymax))
385385
nlp.μc_y .= nlp.μ .* nlp.cx .- nlp.y
386-
end
386+
end

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ More specifically, construct a GenericExecutionStats on the NLPModel of reg_nlp
3333
This is useful for reducing the number of allocations when calling solve!(..., reg_nlp, stats) and should be used by default.
3434
Warning: This should *not* be used when adding other solver_specific entries that do not have the current scalar type.
3535
"""
36-
function RegularizedExecutionStats(reg_nlp :: AbstractRegularizedNLPModel{T, V}) where{T, V}
36+
function RegularizedExecutionStats(reg_nlp::AbstractRegularizedNLPModel{T, V}) where {T, V}
3737
stats = GenericExecutionStats(reg_nlp.model, solver_specific = Dict{Symbol, T}())
3838
set_solver_specific!(stats, :smooth_obj, T(Inf))
3939
set_solver_specific!(stats, :nonsmooth_obj, T(Inf))
4040
return stats
41-
end
41+
end

0 commit comments

Comments
 (0)