Skip to content

Commit

Permalink
fix typo and function call
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed May 22, 2024
1 parent d4217b2 commit 1c175dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ if(BUILD_CUGRAPH_MG_TESTS)

###############################################################################################
# - MG EDGE TRIANGLE COUNT tests --------------------------------------------------------------------------
ConfigureTest(MG_EDGE_TRIANGLE_COUNT_TEST community/mg_edge_triangle_count_test.cpp)
ConfigureTestMG(MG_EDGE_TRIANGLE_COUNT_TEST community/mg_edge_triangle_count_test.cpp)

###############################################################################################
# - MG WEAKLY CONNECTED COMPONENTS tests ------------------------------------------------------
Expand Down
4 changes: 3 additions & 1 deletion cpp/tests/community/mg_edge_triangle_count_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,14 @@ class Tests_MGEdgeTriangleCount
auto [ref_edgelist_srcs,
ref_edgelist_dsts,
ref_d_edgelist_weights,
ref_d_edge_triangle_counts] =
ref_d_edge_triangle_counts,
ref_d_edgelist_type] =
cugraph::decompress_to_edgelist(
*handle_,
sg_graph.view(),
std::optional<cugraph::edge_property_view_t<edge_t, weight_t const*>>{std::nullopt},
std::make_optional(ref_d_sg_cugraph_results.view()),
std::optional<cugraph::edge_property_view_t<edge_t, int32_t const*>>{std::nullopt},
std::optional<raft::device_span<vertex_t const>>{
std::nullopt}); // FIXME: No longer needed

Expand Down
3 changes: 2 additions & 1 deletion cpp/tests/community/mg_weighted_matching_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,11 @@ class Tests_MGWeightedMatching
std::optional<
cugraph::edge_property_t<cugraph::graph_view_t<vertex_t, edge_t, false, false>, weight_t>>
sg_edge_weights{std::nullopt};
std::tie(sg_graph, sg_edge_weights, std::ignore) = cugraph::test::mg_graph_to_sg_graph(
std::tie(sg_graph, sg_edge_weights, std::ignore, std::ignore) = cugraph::test::mg_graph_to_sg_graph(
*handle_,
mg_graph_view,
mg_edge_weight_view,
std::optional<cugraph::edge_property_view_t<edge_t, edge_t const*>>{std::nullopt},
std::optional<raft::device_span<vertex_t const>>(std::nullopt),
false);

Expand Down

0 comments on commit 1c175dc

Please sign in to comment.