diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-01 11:34:25 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-01 11:34:25 -0800 |
commit | c4b0eca01be31e0f463147bd4f834b6deddc5b51 (patch) | |
tree | 5b8a68c2b3eca4254fc6161286cc3c9f775fc6a5 /tests/fasta.cpp | |
parent | 8fdae50a45b2cde57bc19786a043ed4ba05b3ae8 (diff) |
fix fasta bug that shows up in clang
Diffstat (limited to 'tests/fasta.cpp')
-rw-r--r-- | tests/fasta.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fasta.cpp b/tests/fasta.cpp index 35bd4425..1b52e1b2 100644 --- a/tests/fasta.cpp +++ b/tests/fasta.cpp @@ -54,7 +54,7 @@ struct Cumulative { } for ( unsigned int i = 0; i <= slots; i++ ) { - while ( i > start->pi ) { + while ( i > start->pi && start->pi != 0) { ++start; } |