From 72a2a76966fa5c7ef9d6bfe6ac830745ca41f7f4 Mon Sep 17 00:00:00 2001 From: Eric Rescorla Date: Tue, 3 Dec 2024 15:21:59 -0800 Subject: [PATCH] FMT --- examples/time-varying-infection/infection_manager.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/time-varying-infection/infection_manager.rs b/examples/time-varying-infection/infection_manager.rs index 49e246f..aa18c10 100644 --- a/examples/time-varying-infection/infection_manager.rs +++ b/examples/time-varying-infection/infection_manager.rs @@ -169,8 +169,7 @@ mod test { } assert_eq!( n_eff_inv_infec(&mut context), - 1.0 / parameters.infection_duration - / parameters.population as f64 + 1.0 / parameters.infection_duration / parameters.population as f64 ); let time_spent_infected = 0.5; let cdf_value_many_infected = recovery_cdf(&mut context, time_spent_infected);