Skip to content

Commit 68a92da

Browse files
committed
change .at to ()
1 parent 3442698 commit 68a92da

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/SASearcher.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ class SASearcher {
8888
if (ubIn - lbIn == 2) {
8989
lbIn += 1;
9090
auto i = startAt;
91-
while (i < m and SA.at(lbIn) + i < n) {
91+
while (i < m and SA[lbIn] + i < n) {
9292
char queryChar = ::toupper(*(qb + i));
9393
// If we're reverse complementing
9494
if (complementBases) {
9595
queryChar = rapmap::utils::my_mer::complement(queryChar);
9696
}
97-
if ( queryChar < *(sb + SA.at(lbIn) + i) ) {
97+
if ( queryChar < *(sb + SA[lbIn] + i) ) {
9898
break;
99-
} else if ( queryChar > *(sb + SA.at(lbIn) + i)) {
99+
} else if ( queryChar > *(sb + SA[lbIn] + i)) {
100100
break;
101101
}
102102
++i;

0 commit comments

Comments
 (0)