src/pdps.rs

branch
dev
changeset 34
efa60bc4f743
parent 32
56c8adc32b09
child 35
b087e3eab191
--- a/src/pdps.rs	Tue Aug 01 10:32:12 2023 +0300
+++ b/src/pdps.rs	Thu Aug 29 00:00:00 2024 -0500
@@ -121,7 +121,7 @@
     /// Accelerate if available
     pub acceleration : Acceleration,
     /// Generic parameters
-    pub insertion : FBGenericConfig<F>,
+    pub generic : FBGenericConfig<F>,
 }
 
 #[replace_float_literals(F::cast_from(literal))]
@@ -132,7 +132,7 @@
             τ0,
             σ0 : 0.99/τ0,
             acceleration : Acceleration::Partial,
-            insertion : Default::default()
+            generic : Default::default(),
         }
     }
 }
@@ -233,7 +233,7 @@
       Reg : RegTerm<F, N> {
 
     // Set up parameters
-    let config = &pdpsconfig.insertion;
+    let config = &pdpsconfig.generic;
     let op𝒟norm = op𝒟.opnorm_bound();
     let l = opA.lipschitz_factor(&op𝒟).unwrap().sqrt();
     let mut τ = pdpsconfig.τ0 / l;

mercurial