Skip to content

Commit

Permalink
🤖 Format .jl files (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: tmigot <[email protected]>
  • Loading branch information
github-actions[bot] and tmigot authored Feb 13, 2023
1 parent d1506fd commit 8bfe0f1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions test/allocs_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,20 @@ end
map(x -> SlackModel(eval(Symbol(x))()), NLPModelsTest.nlp_problems),
)
map(
nlp -> NLPModelsTest.test_zero_allocations(nlp, linear_api = true, exclude = [obj, grad, hess, hess_residual]),
map(x -> FeasibilityResidual(eval(Symbol(x))(), name = x * "feas"), setdiff(problems, ["MGH01"])),
nlp -> NLPModelsTest.test_zero_allocations(
nlp,
linear_api = true,
exclude = [obj, grad, hess, hess_residual],
),
map(
x -> FeasibilityResidual(eval(Symbol(x))(), name = x * "feas"),
setdiff(problems, ["MGH01"]),
),
)
# jtprod! https://github.com/JuliaSmoothOptimizers/NLPModelsModifiers.jl/issues/77
map(
nlp -> NLPModelsTest.test_zero_allocations(nlp, linear_api = true, exclude = [hess, jtprod, jac_op]),
nlp ->
NLPModelsTest.test_zero_allocations(nlp, linear_api = true, exclude = [hess, jtprod, jac_op]),
map(x -> FeasibilityFormNLS(eval(Symbol(x))()), problems),
)
end

0 comments on commit 8bfe0f1

Please sign in to comment.