Skip to content

Commit

Permalink
Fix array delete. (rapidsai#202)
Browse files Browse the repository at this point in the history
Close rapidsai/cuml#3573 .

Authors:
  - Jiaming Yuan (https://github.com/trivialfis)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#202
  • Loading branch information
trivialfis authored and hlinsen committed Apr 12, 2021
1 parent 706de10 commit f1c1ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/sparse/linalg/add.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ __global__ void csr_add_calc_row_counts_kernel(
out_rowcounts[row] = final_size;
raft::myAtomicAdd(out_rowcounts + m, final_size);

delete arr;
delete[] arr;
}
}

Expand Down

0 comments on commit f1c1ccd

Please sign in to comment.