Skip to content

Commit

Permalink
Changes expected modularity
Browse files Browse the repository at this point in the history
  • Loading branch information
Naim committed Nov 16, 2023
1 parent f424292 commit 5b6b59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/tests/c_api/leiden_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int test_leiden_no_weights()
vertex_t h_src[] = {0, 1, 1, 2, 2, 2, 3, 4, 1, 3, 4, 0, 1, 3, 5, 5};
vertex_t h_dst[] = {1, 3, 4, 0, 1, 3, 5, 5, 0, 1, 1, 2, 2, 2, 3, 4};
vertex_t h_result[] = {1, 1, 1, 2, 0, 0};
weight_t expected_modularity = 0.0859375;
weight_t expected_modularity = 0.125;

// Louvain wants store_transposed = FALSE
return generic_leiden_test(h_src,
Expand Down

0 comments on commit 5b6b59e

Please sign in to comment.