target_bounds not needed

Tue, 04 Aug 2026 20:11:10 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 04 Aug 2026 20:11:10 -0500
changeset 92
759634edb536
parent 91
47d495348e38
child 93
8f1e57821d76

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.α()
     }

mercurial