Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential bug in node.forbids(conn_1, conn_2) #13857

Closed
xiaoyu-huang-plus opened this issue Sep 22, 2023 · 1 comment
Closed

Potential bug in node.forbids(conn_1, conn_2) #13857

xiaoyu-huang-plus opened this issue Sep 22, 2023 · 1 comment
Assignees
Milestone

Comments

@xiaoyu-huang-plus
Copy link

xiaoyu-huang-plus commented Sep 22, 2023

Add your issue description here.

  • The final return ps[-(possProhibitorIndex - 1)] == '1' is very suspicious to me; ps[-(possProhibitorIndex + 1)] seems to be the correct indexing.

If possible, upload an example that shows your problem.

SUMO-version: sumolib 1.18

operating system: Ubuntu 20.04.3 LTS

@xiaoyu-huang-plus xiaoyu-huang-plus changed the title Ambiguity and potential bug in node.forbids(conn_1, conn_2) Potential bug in node.forbids(conn_1, conn_2) Sep 22, 2023
@m-kro m-kro added this to the 1.19.0 milestone Sep 22, 2023
@m-kro m-kro self-assigned this Sep 22, 2023
m-kro added a commit that referenced this issue Sep 22, 2023
Signed-off-by: m-kro <m.barthauer@t-online.de>
@m-kro
Copy link
Contributor

m-kro commented Sep 22, 2023

Thank you!

@m-kro m-kro closed this as completed Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants