Skip to content

Commit c4b0eca

Browse files
committed
fix fasta bug that shows up in clang
1 parent 8fdae50 commit c4b0eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fasta.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ struct Cumulative {
5454
}
5555

5656
for ( unsigned int i = 0; i <= slots; i++ ) {
57-
while ( i > start->pi ) {
57+
while ( i > start->pi && start->pi != 0) {
5858
++start;
5959
}
6060

0 commit comments

Comments
 (0)