Skip to content

Commit

Permalink
replacing useless unsigned integer expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Coos Baakman committed Apr 2, 2019
1 parent e36d8a0 commit 7506995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hssp-nt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ void MProfile::AdjustXGapCosts(std::vector<float>& gop,
{
if (ix + d >= m_residues.size() or
m_residues[ix + d].m_dist[22] > 0 or
ix - d < 0 or
ix < d or
m_residues[ix - d].m_dist[22] > 0)
{
gop[ix] *= (2 + ((8 - d) * 2)) / 8.f;
Expand Down

0 comments on commit 7506995

Please sign in to comment.