Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 4, 2024
1 parent a0c3d06 commit dd2c011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/SimpleNonlinearSolve/src/SimpleNonlinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function solve_adjoint_internal end
prob_oop = NonlinearProblem{false}((u, p) -> u .* u .- p, ones(T, 3), T(2))

# Only compile frequently used algorithms -- mostly from the NonlinearSolve default
#!format: off
algs = [
SimpleBroyden(),
# SimpleDFSane(),
Expand All @@ -90,6 +91,7 @@ function solve_adjoint_internal end
SimpleNewtonRaphson(; autodiff = AutoForwardDiff(; chunksize = 1)),
# SimpleTrustRegion()
]
#!format: on

@compile_workload begin
@sync for alg in algs
Expand All @@ -101,7 +103,6 @@ function solve_adjoint_internal end
end
end


export AutoFiniteDiff, AutoForwardDiff, AutoPolyesterForwardDiff

export Alefeld, Bisection, Brent, Falsi, ITP, Ridder
Expand Down

0 comments on commit dd2c011

Please sign in to comment.