Skip to content

Commit

Permalink
fix overflow TableCount
Browse files Browse the repository at this point in the history
  • Loading branch information
tomofumi.sakai authored and edmundmiller committed Dec 7, 2023
1 parent e687d78 commit 8437b0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/reference/HashtableConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ class HashtableConfig {
uint64_t getHashtableBytes() const { return header_.hashtableBytes; } // #bytes in references hash table
uint64_t getHashtableRecordCount() const { return getHashtableBytes() / 8; }
uint64_t getHashtableBucketCount() const { return getHashtableBytes() / 64; }
uint32_t getExtendTableRecordCount() const { return header_.extTabRecs; }
uint32_t getExtendTableBytes() const { return getExtendTableRecordCount() * 8; }
uint64_t getExtendTableRecordCount() const { return header_.extTabRecs; }
uint64_t getExtendTableBytes() const { return getExtendTableRecordCount() * 8; }
uint32_t getMinimunFrequencyToExtend() const { return header_.minFreqToExtend; }
uint32_t getMaxSeedFrequency() const { return header_.maxSeedFreq; }
/// total number of bases in the reference sequence file - including padding
Expand Down

0 comments on commit 8437b0c

Please sign in to comment.