diff --git a/src/pfaedle/osm/OsmBuilder.cpp b/src/pfaedle/osm/OsmBuilder.cpp index eaa4ab1..aae4ee3 100644 --- a/src/pfaedle/osm/OsmBuilder.cpp +++ b/src/pfaedle/osm/OsmBuilder.cpp @@ -1357,7 +1357,7 @@ std::set OsmBuilder::snapStation(Graph* g, NodePL* s, EdgeGrid* eg, ll.push_back(*n->pl().getGeom()); ll.push_back(*e->getTo()->pl().getGeom()); *nf->pl().getGeom() = ll; - eg->add(l, nf); + eg->add(ll, nf); // replace edge in restrictor restor->replaceEdge(e, ne, nf);