Skip to content

Commit

Permalink
fix is_mobile column in mid
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Oct 24, 2023
1 parent cb4f765 commit 172ef2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matsim/scenariogen/data/formats/mid.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ def mobile(p):
x = int(p.mobil)
if x == 0:
return False
elif x == 1:
return True
return None

# potential null values are ignored, and true returned
return True

@staticmethod
def present_on_day(p):
Expand Down

0 comments on commit 172ef2e

Please sign in to comment.