Skip to content

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
ekr-cfa committed Dec 2, 2024
1 parent 0f746cf commit 8a081cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion examples/births-deaths/infection_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
8 changes: 6 additions & 2 deletions examples/births-deaths/population_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 8a081cb

Please sign in to comment.