Skip to content

Commit

Permalink
fix #14555
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 20, 2024
1 parent 1787e05 commit f86330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netbuild/NBOwnTLDef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ NBOwnTLDef::buildNemaPhases(
std::string
NBOwnTLDef::filterState(std::string state, const EdgeVector& fromEdges, const NBEdge* e) {
bool haveGreen = false;
for (int j = 0; j < (int)state.size(); j++) {
for (int j = 0; j < (int)fromEdges.size(); j++) {
if (fromEdges[j] != e) {
state[j] = 'r';
} else if (state[j] != 'r') {
Expand Down

0 comments on commit f86330f

Please sign in to comment.