Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Jan 9, 2025
1 parent 1ffe352 commit c70a229
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cpp/tests/community/leiden_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
*
*/
#include "utilities/base_fixture.hpp"
#include "utilities/test_graphs.hpp"
#include "utilities/conversion_utilities.hpp"
#include "utilities/test_graphs.hpp"

#include <cugraph/algorithms.hpp>
#include <cugraph/graph.hpp>
Expand Down
12 changes: 5 additions & 7 deletions cpp/tests/community/mg_leiden_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ class Tests_MGLeiden

unique_clustering_v = cugraph::test::unique<vertex_t>(*handle_, std::move(unique_clustering_v));

unique_clustering_v =
cugraph::test::device_allgatherv(*handle_, unique_clustering_v.data(), unique_clustering_v.size());
unique_clustering_v = cugraph::test::device_allgatherv(
*handle_, unique_clustering_v.data(), unique_clustering_v.size());

unique_clustering_v = cugraph::test::sort<vertex_t>(*handle_, unique_clustering_v);

unique_clustering_v = cugraph::test::unique<vertex_t>(*handle_, std::move(unique_clustering_v));
Expand All @@ -215,8 +215,6 @@ class Tests_MGLeiden

auto h_expected_unique_clustering_v =
cugraph::test::to_host(*handle_, expected_unique_clustering_v);



ASSERT_TRUE(std::equal(h_unique_clustering_v.begin(),
h_unique_clustering_v.end(),
Expand Down Expand Up @@ -266,7 +264,7 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(Leiden_Usecase{100, 1, 1, false}),
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx"))));

//#if 0
// #if 0
INSTANTIATE_TEST_SUITE_P(rmat_small_tests,
Tests_MGLeiden_Rmat,
::testing::Combine(::testing::Values(Leiden_Usecase{100, 1, false}),
Expand Down Expand Up @@ -296,6 +294,6 @@ INSTANTIATE_TEST_SUITE_P(
// disable correctness checks for large graphs
::testing::Values(Leiden_Usecase{100, 1, 1, false}),
::testing::Values(cugraph::test::Rmat_Usecase(12, 32, 0.57, 0.19, 0.19, 0, true, false))));
//#endif
// #endif

CUGRAPH_MG_TEST_PROGRAM_MAIN()

0 comments on commit c70a229

Please sign in to comment.