Skip to content

Commit

Permalink
Fixing conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed May 13, 2024
1 parent db2b66e commit 8582944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lineGraph/lineGraph_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ pgr_do_lineGraph(

std::vector<Edge_t> 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);
}
Expand Down

0 comments on commit 8582944

Please sign in to comment.