From 8582944d03f2bf728c8115a14eb12f063783aafd Mon Sep 17 00:00:00 2001 From: cvvergara Date: Thu, 9 May 2024 09:56:37 -0600 Subject: [PATCH] Fixing conflicts --- src/lineGraph/lineGraph_driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lineGraph/lineGraph_driver.cpp b/src/lineGraph/lineGraph_driver.cpp index c4ff08bb8f..ad19950ff3 100644 --- a/src/lineGraph/lineGraph_driver.cpp +++ b/src/lineGraph/lineGraph_driver.cpp @@ -92,11 +92,11 @@ pgr_do_lineGraph( std::vector line_graph_edges; if (directed) { - pgrouting::DirectedGraph ograph(directed); + pgrouting::DirectedGraph ograph; ograph.insert_edges(edges); line_graph_edges = line_graph(ograph, directed); } else { - pgrouting::UndirectedGraph ograph(directed); + pgrouting::UndirectedGraph ograph; ograph.insert_edges(edges); line_graph_edges = line_graph(ograph, directed); }