From 9ce3d1e511282bdba3dc86fc3df6765650bd2736 Mon Sep 17 00:00:00 2001 From: Simon Carlson Date: Mon, 23 Jan 2023 15:36:29 +0100 Subject: [PATCH] fixing docs --- src/trustRegion.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/trustRegion.jl b/src/trustRegion.jl index b20979ff9..a35be7807 100644 --- a/src/trustRegion.jl +++ b/src/trustRegion.jl @@ -3,13 +3,13 @@ TrustRegion(; chunk_size = Val{0}(), autodiff = Val{true}(), standardtag = Val{true}(), concrete_jac = nothing, diff_type = Val{:forward}, linsolve = nothing, precs = DEFAULT_PRECS, - max_trust_radius::Real = 0.0, - initial_trust_radius::Real = 0.0, - step_threshold::Real = 0.1, - shrink_threshold::Real = 0.25, - expand_threshold::Real = 0.75, - shrink_factor::Real = 0.25, - expand_factor::Real = 2.0, + max_trust_radius::Real = 0 // 1, + initial_trust_radius::Real = 0 // 1, + step_threshold::Real = 1 // 10, + shrink_threshold::Real = 1 // 4, + expand_threshold::Real = 3 // 4, + shrink_factor::Real = 1 // 4, + expand_factor::Real = 2 // 1, max_shrink_times::Int = 32) ```