src/forward_pdps.rs

branch
dev
changeset 65
ec5f160c413b
parent 63
7a8a55fd41c0
child 66
fe47ad484deb
--- a/src/forward_pdps.rs	Thu Feb 26 11:36:22 2026 -0500
+++ b/src/forward_pdps.rs	Thu Feb 26 12:55:38 2026 -0500
@@ -199,7 +199,7 @@
     // Run the algorithm
     for state in iterator.iter_init(|| full_stats(&μ, &z, ε, stats.clone())) {
         // Calculate initial transport
-        let Pair(mut τv, τz) = f.differential(Pair(&μ, &z));
+        let Pair(mut τv, τz) = f.differential(Pair(&μ, &z)) * τ;
         let μ_base = μ.clone();
 
         // Construct μ^{k+1} by solving finite-dimensional subproblems and insert new spikes.

mercurial