Skip to content

Commit 4fadfca

Browse files
committed
Merge pull request #1306 from h-2/fix/blast_module_tblastn
[FIX] minor bug for tblastn
2 parents 493eeda + 8c7b775 commit 4fadfca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/seqan/blast/blast_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ struct BlastProgramSelector<BlastProgram::DYNAMIC>
184184
constexpr bool
185185
qHasRevComp(BlastProgram const p)
186186
{
187-
return (!(p==BlastProgram::BLASTP) || (p==BlastProgram::TBLASTN));
187+
return ((p!=BlastProgram::BLASTP) && (p!=BlastProgram::TBLASTN));
188188
}
189189

190190
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)