Skip to content

Commit 8bfe0f1

Browse files
🤖 Format .jl files (#96)
Co-authored-by: tmigot <tmigot@users.noreply.github.com>
1 parent d1506fd commit 8bfe0f1

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

test/allocs_test.jl

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,20 @@ end
4242
map(x -> SlackModel(eval(Symbol(x))()), NLPModelsTest.nlp_problems),
4343
)
4444
map(
45-
nlp -> NLPModelsTest.test_zero_allocations(nlp, linear_api = true, exclude = [obj, grad, hess, hess_residual]),
46-
map(x -> FeasibilityResidual(eval(Symbol(x))(), name = x * "feas"), setdiff(problems, ["MGH01"])),
45+
nlp -> NLPModelsTest.test_zero_allocations(
46+
nlp,
47+
linear_api = true,
48+
exclude = [obj, grad, hess, hess_residual],
49+
),
50+
map(
51+
x -> FeasibilityResidual(eval(Symbol(x))(), name = x * "feas"),
52+
setdiff(problems, ["MGH01"]),
53+
),
4754
)
4855
# jtprod! https://github.com/JuliaSmoothOptimizers/NLPModelsModifiers.jl/issues/77
4956
map(
50-
nlp -> NLPModelsTest.test_zero_allocations(nlp, linear_api = true, exclude = [hess, jtprod, jac_op]),
57+
nlp ->
58+
NLPModelsTest.test_zero_allocations(nlp, linear_api = true, exclude = [hess, jtprod, jac_op]),
5159
map(x -> FeasibilityFormNLS(eval(Symbol(x))()), problems),
5260
)
5361
end

0 commit comments

Comments
 (0)