From 8bfe0f188905b477e97eeedc34a276af45a6d098 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Feb 2023 11:31:11 -0500 Subject: [PATCH] :robot: Format .jl files (#96) Co-authored-by: tmigot --- test/allocs_test.jl | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/test/allocs_test.jl b/test/allocs_test.jl index 93c3475..0efc82b 100644 --- a/test/allocs_test.jl +++ b/test/allocs_test.jl @@ -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