Tue, 04 Aug 2026 20:11:10 -0500
target_bounds not needed
| src/regularisation.rs | file | annotate | diff | comparison | revisions |
--- a/src/regularisation.rs Tue Aug 04 19:41:34 2026 -0500 +++ b/src/regularisation.rs Tue Aug 04 20:11:10 2026 -0500 @@ -162,9 +162,6 @@ where M: MinMaxMapping<Domain, F>; - /// TODO: document this - fn target_bounds(&self, τ: F, ε: F) -> Option<Bounds<F>>; - /// Returns a scaling factor for the tolerance sequence. /// /// Typically this is the regularisation parameter. @@ -323,11 +320,6 @@ )); } - fn target_bounds(&self, τ: F, ε: F) -> Option<Bounds<F>> { - let τα = τ * self.α(); - Some(Bounds(τα - ε, τα + ε)) - } - fn tolerance_scaling(&self) -> F { self.α() } @@ -582,11 +574,6 @@ )); } - fn target_bounds(&self, τ: F, ε: F) -> Option<Bounds<F>> { - let τα = τ * self.α(); - Some(Bounds(-τα - ε, τα + ε)) - } - fn tolerance_scaling(&self) -> F { self.α() }