Skip to content

Commit

Permalink
[centrality] removed all linting errors from my code
Browse files Browse the repository at this point in the history
  • Loading branch information
bedupako12mas committed Aug 12, 2024
1 parent c9a445d commit ef2326e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/metrics/betweennessCentrality.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,11 @@ class Pgr_metrics {
CHECK_FOR_INTERRUPTS();
boost::brandes_betweenness_centrality(
graph.graph,
centrality_map
);
centrality_map);
if (boost::num_vertices(graph.graph) > 2) {
boost::relative_betweenness_centrality(
graph.graph,
centrality_map
);
centrality_map);
}

generate_results(graph, centrality, result_tuple_count, postgres_rows);
Expand Down

0 comments on commit ef2326e

Please sign in to comment.