From f76ba689923ed4f4fa5c95447fcba3d32c82c52a Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 30 Jul 2023 10:29:23 -0400 Subject: [PATCH] Update trustRegion.jl --- src/trustRegion.jl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/trustRegion.jl b/src/trustRegion.jl index 6567542eb..828eeb9b1 100644 --- a/src/trustRegion.jl +++ b/src/trustRegion.jl @@ -1,3 +1,11 @@ +EnumX.@enumx RadiusUpdateSchemes begin + Simple + Hei + Yuan + Bastin + Fan +end + """ ```julia TrustRegion(; chunk_size = Val{0}(), autodiff = Val{true}(), @@ -85,14 +93,6 @@ for large-scale and numerically-difficult nonlinear systems. Currently, the linear solver and chunk size choice only applies to in-place defined `NonlinearProblem`s. That is expected to change in the future. """ -EnumX.@enumx RadiusUpdateSchemes begin - Simple - Hei - Yuan - Bastin - Fan -end - struct TrustRegion{CS, AD, FDT, L, P, ST, CJ, MTR} <: AbstractNewtonAlgorithm{CS, AD, FDT, ST, CJ} linsolve::L