diff --git a/matsim/writers.py b/matsim/writers.py index 991d00f..48a7de2 100644 --- a/matsim/writers.py +++ b/matsim/writers.py @@ -153,7 +153,7 @@ def end_plan(self): self._write_line('') def add_activity(self, type: str, x: float, y: float, facility_id: str = None, - start_time: int = None, end_time: int = None, attributes: dict = None): + start_time: int = None, end_time: int = None, max_dur: int = None, attributes: dict = None): self._require_scope(self.PLAN_SCOPE) self._write_indent() self._write('\n') self.indent += 1