Skip to content

Commit

Permalink
Update VertexBoundaryBetweennessCast.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AlainKadar authored Sep 26, 2024
1 parent 257e5b2 commit 9211962
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions VertexBoundaryBetweennessCast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@ void VertexBoundaryBetweennessCast::vertex_boundary_betweenness_compute () {
igraph_real_t* weights_arr = (double *)weights_ptr;
igraph_vector_init_array(&weights_vec, weights_arr, num_edges);

std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now();
igraph_betweenness_subset(g,
&res, /*igraph_vector_t *res*/
igraph_vss_all(), /*igraph_es_t eids*/
false, /*igraph_bool_t directed*/
ig_sources, /*igraph_vs_t sources*/
ig_targets, /*igraph_vs_t targets*/
&weights_vec); /*igraph_vector_t *weights*/
std::chrono::steady_clock::time_point end = std::chrono::steady_clock::now();
//printf("Complete in %lld\n", std::chrono::duration_cast<std::chrono::microseconds>(end - begin).count());

betweennesses <<= res;
Expand Down

0 comments on commit 9211962

Please sign in to comment.