Skip to content

Commit

Permalink
fix: fixed a bug in SB_VS when user patience was None
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-desbureaux-tellae committed Jan 13, 2023
1 parent b508515 commit bd2f5a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starling_sim/basemodel/agent/persons/person.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ def wait_for_request_(self, request, patience=None):
result = yield request.event_ | self.sim.scheduler.timeout(patience)
else:
result = yield request.event_
result = {request.event_: result}

self.sim.scheduler.env.exit(result)

Expand Down

0 comments on commit bd2f5a0

Please sign in to comment.