Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Skeleton003 committed Jun 13, 2024
1 parent 57b1572 commit 73dc413
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/array/cpu/spmat_op_impl_coo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ CSRMatrix SortedCOOToCSR(const COOMatrix &coo) {
const int64_t N = coo.num_rows;
const int64_t NNZ = coo.row->shape[0];

// TODO[Mingbang]: This is just a temporary check to ensure that NNZ does not
// TODO(Mingbang): This is just a temporary check to ensure that NNZ does not
// exceed INT32_MAX, preventing overflow issues that could lead to undefined
// behavior or incorrect results. Later we need to suppoort larger values of
// NNZ.
Expand Down Expand Up @@ -431,7 +431,7 @@ CSRMatrix UnSortedSparseCOOToCSR(const COOMatrix &coo) {
const UIdType N = coo.num_rows;
const int64_t NNZ = coo.row->shape[0];

// TODO[Mingbang]: This is just a temporary check to ensure that NNZ does not
// TODO(Mingbang): This is just a temporary check to ensure that NNZ does not
// exceed INT32_MAX, preventing overflow issues that could lead to undefined
// behavior or incorrect results. Later we need to suppoort larger values of
// NNZ.
Expand Down Expand Up @@ -566,7 +566,7 @@ CSRMatrix UnSortedDenseCOOToCSR(const COOMatrix &coo) {
const UIdType N = coo.num_rows;
const int64_t NNZ = coo.row->shape[0];

// TODO[Mingbang]: This is just a temporary check to ensure that NNZ does not
// TODO(Mingbang): This is just a temporary check to ensure that NNZ does not
// exceed INT32_MAX, preventing overflow issues that could lead to undefined
// behavior or incorrect results. Later we need to suppoort larger values of
// NNZ.
Expand Down Expand Up @@ -672,7 +672,7 @@ CSRMatrix UnSortedSmallCOOToCSR(COOMatrix coo) {
const int64_t N = coo.num_rows;
const int64_t NNZ = coo.row->shape[0];

// TODO[Mingbang]: This is just a temporary check to ensure that NNZ does not
// TODO(Mingbang): This is just a temporary check to ensure that NNZ does not
// exceed INT32_MAX, preventing overflow issues that could lead to undefined
// behavior or incorrect results. Later we need to suppoort larger values of
// NNZ.
Expand Down

0 comments on commit 73dc413

Please sign in to comment.