From 0add14d4b67566cbbefee02d564ff0d5304e9c59 Mon Sep 17 00:00:00 2001 From: Aaron Lun Date: Mon, 11 Sep 2023 10:48:08 -0700 Subject: [PATCH] Removed unnecessary statement. (#19) 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. --- include/singlepp/build_indices.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/singlepp/build_indices.hpp b/include/singlepp/build_indices.hpp index c026b5e..ef40ac0 100644 --- a/include/singlepp/build_indices.hpp +++ b/include/singlepp/build_indices.hpp @@ -67,7 +67,6 @@ std::vector build_indices(const tatami::Matrix* 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];