Skip to content

Commit

Permalink
Make deterministic flag in register_visit optional
Browse files Browse the repository at this point in the history
  • Loading branch information
djgroen committed Jan 22, 2024
1 parent 654d1e4 commit 70d60d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facs/base/location.py
Expand Up @@ -43,7 +43,7 @@ def clear_visits(self, e):
self.visits = []
e.loc_inf_minutes[self.loc_inf_minutes_id] = 0.0

def register_visit(self, e, person, need, deterministic):
def register_visit(self, e, person, need, deterministic=False):
"""Register a visit to the location."""

visit_time = self.avg_visit_time
Expand Down

0 comments on commit 70d60d8

Please sign in to comment.