From c0fe8dcdf0ff67e4c6b077052d8b1e412e605e5a Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 18 Dec 2024 15:36:50 +0000 Subject: [PATCH] denominator mul --- lightning/src/routing/scoring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 1ca38ae1553..43da6e959d9 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -1207,7 +1207,7 @@ fn success_probability( // Note that we prefer to increase the denominator rather than decrease the numerator as // the denominator is more likely to be larger and thus provide greater precision. This is // mostly an overoptimization but makes a large difference in tests. - denominator = denominator * 21 / 16 + denominator = denominator * 78 / 64 } (numerator, denominator)