Skip to content

Commit

Permalink
Fix ref #13857
Browse files Browse the repository at this point in the history
Signed-off-by: m-kro <m.barthauer@t-online.de>
  • Loading branch information
m-kro committed Sep 22, 2023
1 parent c479811 commit b7c4690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sumolib/net/node.py
Expand Up @@ -133,7 +133,7 @@ def forbids(self, possProhibitor, possProhibited):
if possProhibitorIndex < 0 or possProhibitedIndex < 0:
return False
ps = self._prohibits[possProhibitedIndex]
return ps[-(possProhibitorIndex - 1)] == '1'
return ps[-(possProhibitorIndex + 1)] == '1'

def getCoord(self):
return tuple(self._coord[:2])
Expand Down

0 comments on commit b7c4690

Please sign in to comment.