Oops, a τ had dropped in forward_pdps. dev

Thu, 26 Feb 2026 12:55:38 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Thu, 26 Feb 2026 12:55:38 -0500
branch
dev
changeset 65
ec5f160c413b
parent 63
7a8a55fd41c0
child 66
fe47ad484deb

Oops, a τ had dropped in forward_pdps.

src/forward_pdps.rs file | annotate | diff | comparison | revisions
--- 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