You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scenario=Scenario(prob_trauma=0.0)
# run the model in single run modelrun_results=single_run(scenario, random_no_set=42)
This results in a numpy runtime warning as it is attempting to take a mean of an empty slice for Trauma patients. The single_run method creates an instance of SimulationSummary that attempts to run the code. The code still runs, but a warning is produced. Testing currently suppresses the runtime error.
The reverse is true if prob_trauma=1.0
The text was updated successfully, but these errors were encountered:
Steps to recreate:
This results in a
numpy
runtime warning as it is attempting to take a mean of an empty slice for Trauma patients. Thesingle_run
method creates an instance ofSimulationSummary
that attempts to run the code. The code still runs, but a warning is produced. Testing currently suppresses the runtime error.The reverse is true if prob_trauma=1.0
The text was updated successfully, but these errors were encountered: