Skip to content

Commit

Permalink
Bugfix for roundabouts ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Grufoony committed Apr 3, 2024
1 parent d3df5c3 commit 0691750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsm/headers/Dynamics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ namespace dsm {
continue;
}
const auto& nextStreet{m_graph.streetSet()[m_nextStreetId(agentId, destinationNode->id())]};
if (!(nextStreet->density() < 1) && destinationNode->isIntersection()) {
if (!(nextStreet->density() < 1)) {
continue;
}
street->dequeue();
Expand Down

0 comments on commit 0691750

Please sign in to comment.