Skip to content

Commit

Permalink
Fix crash handling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Jun 10, 2024
1 parent a938d77 commit 6d0357a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_micro_simulation_crash_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_crash_handling(self):
)
manager._micro_sims = [MicroSimulation(i) for i in range(4)]

micro_sims_output = manager._solve_micro_simulations(macro_data)
micro_sims_output = manager._solve_micro_simulations(macro_data, 1.0)

# Crashed simulation has interpolated value
data_crashed = micro_sims_output[2]
Expand Down Expand Up @@ -99,7 +99,7 @@ def test_crash_handling_with_adaptivity(self):
is_sim_active = np.array([True, True, True, True, False])
sim_is_associated_to = np.array([-2, -2, -2, -2, 2])
micro_sims_output = manager._solve_micro_simulations_with_adaptivity(
macro_data, is_sim_active, sim_is_associated_to
macro_data, is_sim_active, sim_is_associated_to, 1.0
)

# Crashed simulation has interpolated value
Expand Down

0 comments on commit 6d0357a

Please sign in to comment.