Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-sijia committed Jun 13, 2024
1 parent eb07858 commit d5d948b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tm2py/components/network/create_tod_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def _set_capclass(network):
area_type = link["@area_type"]
if area_type < 0:
link["@capclass"] = -1
elif (link["@ft"] == 99) & (link["@assignable"] == 1):
elif (link["@ft"] == 99):
link["@capclass"] = 10 * area_type + 7
else:
link["@capclass"] = 10 * area_type + link["@ft"]
Expand Down

0 comments on commit d5d948b

Please sign in to comment.