Skip to content

Commit

Permalink
Removed unnecessary statement. (#19)
Browse files Browse the repository at this point in the history
This must have been left behind from refactoring; the scaled ranks go into buffer
and never get used, so I think we can safely remove this.
  • Loading branch information
LTLA authored Sep 11, 2023
1 parent 287351b commit 0add14d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/singlepp/build_indices.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ std::vector<Reference> build_indices(const tatami::Matrix<double, int>* ref, con
for (int c = start, end = start + len; c < end; ++c) {
auto ptr = wrk->fetch(c, buffer.data());
subsorter.fill_ranks(ptr, ranked);
scaled_ranks(ranked, buffer.data()); // 'buffer' can be written to, as all data is extracted to 'vec'.

auto curlab = labels[c];
auto curoff = offsets[c];
Expand Down

0 comments on commit 0add14d

Please sign in to comment.