Skip to content

Commit

Permalink
Oops, set it back to an int.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Aug 26, 2024
1 parent 0e97516 commit 4a37b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tatami/sparse/convert_to_compressed_sparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ struct CompressedSparseContents {
* The behavior of this function can be replicated by manually calling `count_compressed_sparse_non_zeros()` followed by `fill_compressed_sparse_contents()`.
* This may be desirable for users who want to put the compressed sparse contents into pre-existing memory allocations.
*/
template<typename StoredValue_, typename StoredIndex_, typename StoredPointer_ = int, typename InputValue_, typename InputIndex_>
template<typename StoredValue_, typename StoredIndex_, typename StoredPointer_ = size_t, typename InputValue_, typename InputIndex_>
CompressedSparseContents<StoredValue_, StoredIndex_, StoredPointer_> retrieve_compressed_sparse_contents(const Matrix<InputValue_, InputIndex_>* matrix, bool row, bool two_pass, int threads = 1) {
CompressedSparseContents<StoredValue_, StoredIndex_, StoredPointer_> output;
auto& output_v = output.value;
Expand Down

0 comments on commit 4a37b3e

Please sign in to comment.