Skip to content

Commit

Permalink
Merge pull request #347 from ksahlin/fixmem
Browse files Browse the repository at this point in the history
Reduce memory usage when indexing
  • Loading branch information
marcelm authored Sep 28, 2023
2 parents 9b95973 + 18967b9 commit 88f5f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void StrobemerIndex::assign_all_randstrobes(const std::vector<uint64_t>& randstr
* vector starting from the given offset
*/
void StrobemerIndex::assign_randstrobes(size_t ref_index, size_t offset) {
auto seq = references.sequences[ref_index];
auto& seq = references.sequences[ref_index];
if (seq.length() < parameters.randstrobe.w_max) {
return;
}
Expand Down

0 comments on commit 88f5f82

Please sign in to comment.