From 8a081cb9044158a2fe3af13d2217558a5c4d34e0 Mon Sep 17 00:00:00 2001 From: Eric Rescorla Date: Sun, 1 Dec 2024 16:48:05 -0800 Subject: [PATCH] FMT --- examples/births-deaths/infection_manager.rs | 4 +++- examples/births-deaths/population_manager.rs | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/births-deaths/infection_manager.rs b/examples/births-deaths/infection_manager.rs index c2b53b6..4657fe8 100644 --- a/examples/births-deaths/infection_manager.rs +++ b/examples/births-deaths/infection_manager.rs @@ -127,7 +127,9 @@ mod test { let mut context = Context::new(); - context.set_global_property_value(Parameters, p_values.clone()).unwrap(); + context + .set_global_property_value(Parameters, p_values.clone()) + .unwrap(); context.init_random(p_values.seed); init(&mut context); diff --git a/examples/births-deaths/population_manager.rs b/examples/births-deaths/population_manager.rs index 9e5ff4d..6ffbb83 100644 --- a/examples/births-deaths/population_manager.rs +++ b/examples/births-deaths/population_manager.rs @@ -278,7 +278,9 @@ mod test { }; let mut context = Context::new(); - context.set_global_property_value(Parameters, p_values.clone()).unwrap(); + context + .set_global_property_value(Parameters, p_values.clone()) + .unwrap(); context.init_random(p_values.seed); schedule_birth(&mut context); @@ -300,7 +302,9 @@ mod test { }; let mut context = Context::new(); - context.set_global_property_value(Parameters, p_values.clone()).unwrap(); + context + .set_global_property_value(Parameters, p_values.clone()) + .unwrap(); context.init_random(p_values.seed); let _person = context.create_new_person(0); schedule_death(&mut context);