From a8b0d3895fa621db4a744a83e8254f0ea1cc7880 Mon Sep 17 00:00:00 2001 From: Jakob Erdmann Date: Fri, 16 Jan 2015 08:14:58 +0000 Subject: [PATCH] fix #1552 git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk/sumo@17601 afbd958f-9f77-42d5-a016-97a22340ccf4 --- src/netbuild/NBNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/netbuild/NBNode.cpp b/src/netbuild/NBNode.cpp index 7b6f6917f23..4442d992d30 100644 --- a/src/netbuild/NBNode.cpp +++ b/src/netbuild/NBNode.cpp @@ -683,6 +683,7 @@ NBNode::computeLanes2Lanes(const bool buildCrossingsAndWalkingAreas) { // special case a): // one in, one out, the outgoing has one lane more if (myIncomingEdges.size() == 1 && myOutgoingEdges.size() == 1 + && myIncomingEdges[0]->getStep() <= NBEdge::LANES2EDGES && myIncomingEdges[0]->getNumLanes() == myOutgoingEdges[0]->getNumLanes() - 1 && myIncomingEdges[0] != myOutgoingEdges[0] && myIncomingEdges[0]->isConnectedTo(myOutgoingEdges[0])) {