src/pdps.rs

changeset 75
677a5fd1b014
parent 71
e2953ffd4e0b
child 77
be105c046777
--- a/src/pdps.rs	Thu Jul 16 19:51:51 2026 +0300
+++ b/src/pdps.rs	Sun Jul 19 07:30:06 2026 +0200
@@ -206,8 +206,7 @@
         let μ_base = μ.clone();
 
         // Insert and reweigh
-        let (maybe_d, _within_tolerances) = prox_penalty
-            .insert_and_reweigh(&mut μ, &mut τv, τ, ε, config, &reg, &state, &mut stats)?;
+        prox_penalty.insert_and_reweigh(&mut μ, &mut τv, τ, ε, config, &reg, &state, &mut stats)?;
 
         // Prune and possibly merge spikes
         if config.merge_now(&state) {
@@ -234,7 +233,7 @@
         stats.this_iters += 1;
 
         state.if_verbose(|| {
-            plotter.plot_spikes(iter, maybe_d.as_ref(), Some(&τv), &μ);
+            plotter.plot_spikes(iter, None, Some(&τv), &μ);
             full_stats(&μ, ε, std::mem::replace(&mut stats, IterInfo::new()))
         });
 

mercurial