Skip to content

Commit

Permalink
Clean up merge
Browse files Browse the repository at this point in the history
  • Loading branch information
wphicks committed Feb 13, 2025
1 parent 37ccf75 commit 99698bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/include/raft/sparse/linalg/degree.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ template <typename T, typename nnz_type, typename outT>
void coo_degree_scalar(
const int* rows, const T* vals, nnz_type nnz, T scalar, outT* results, cudaStream_t stream = 0)
{
detail::coo_degree_scalar<64>(rows, vals, (uint64_t)nnz, scalar, results, stream);
detail::coo_degree_scalar<64>(rows, vals, nnz, scalar, results, stream);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion cpp/include/raft/sparse/linalg/detail/symmetrize.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ RAFT_KERNEL coo_symmetrize_kernel(nnz_t* row_ind,
// Note that if we did find a match, we don't need to
// compute `res` on it here because it will be computed
// in a different thread.
if (!found_match && cur_val != 0.0) {
if (!found_match && vals[idx] != 0.0) {
orows[out_start_idx + row_nnz] = cur_col;
ocols[out_start_idx + row_nnz] = cur_row;
ovals[out_start_idx + row_nnz] = res;
Expand Down

0 comments on commit 99698bd

Please sign in to comment.