Skip to content

Commit

Permalink
fix: adjacentSeq private -> public
Browse files Browse the repository at this point in the history
  • Loading branch information
leejoey0921 committed Aug 29, 2024
1 parent f208e56 commit f433ca5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/linclust/kmermatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@ struct SequencePosition{
template <bool Include>
struct AdjacentSeqArray {
void setAdjacentSeq(int index, const unsigned char val) {
adjacentSeq[index] = val;
_adjacentSeq[index] = val;
}
unsigned char getAdjacentSeq(int index) {
return adjacentSeq[index];
return _adjacentSeq[index];
}

private:
unsigned char adjacentSeq[6];
unsigned char _adjacentSeq[6];
};

// save memory when adjacent sequence is unused
Expand Down

0 comments on commit f433ca5

Please sign in to comment.