From 9a66adb88d51b88648d1ee3862950a6ac1a1538f Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Sat, 2 Nov 2024 12:42:54 +0100 Subject: [PATCH] use previewed rd in step 6 --- src/rating_system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rating_system.rs b/src/rating_system.rs index 6a355fd..011dc83 100644 --- a/src/rating_system.rs +++ b/src/rating_system.rs @@ -447,7 +447,7 @@ impl RatingSystem { // Step 6 let phi_star = new_deviation( - us.deviation.to_internal(), + phi, sigma_prime, Periods::min(now.elapsed_since(us.at), Periods(1.0)), // Notable change! );