Skip to content

Commit 2b57298

Browse files
authored
Missed update accounting for reduction related APIs (#2704)
This #2679 introduced breaking changes in RAFT APIs but missed 1 place which broke cuGraph. cc @ChuckHastings @jnke2016 Authors: - Divye Gala (https://github.com/divyegala) Approvers: - Chuck Hastings (https://github.com/ChuckHastings) - Joseph Nke (https://github.com/jnke2016) URL: #2704
1 parent 23c9420 commit 2b57298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/include/raft/spectral/detail/modularity_maximization.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ std::tuple<vertex_t, weight_t, vertex_t> modularity_maximization(
107107
// notice that at this point the matrix has already been transposed, so we are scaling
108108
// columns
109109
auto dataset_view = raft::make_device_matrix_view(eigVecs, nEigVecs, n);
110-
raft::linalg::row_normalize(
111-
handle, raft::make_const_mdspan(dataset_view), dataset_view, raft::linalg::L2Norm);
110+
raft::linalg::row_normalize<raft::linalg::L2Norm>(
111+
handle, raft::make_const_mdspan(dataset_view), dataset_view);
112112

113113
// Find partition clustering
114114
auto pair_cluster = cluster_solver.solve(handle, n, nEigVecs, eigVecs, clusters);

0 commit comments

Comments
 (0)