mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix -Wsign-compare
This commit is contained in:
parent
9970a243ec
commit
a3673809cf
3 changed files with 5 additions and 5 deletions
|
|
@ -89,8 +89,8 @@ MonoPitchHMM::build()
|
|||
for (size_t iPitch = 0; iPitch < m_nPitch; ++iPitch)
|
||||
{
|
||||
int theoreticalMinNextPitch = static_cast<int>(iPitch)-static_cast<int>(m_transitionWidth/2);
|
||||
int minNextPitch = iPitch>m_transitionWidth/2 ? iPitch-m_transitionWidth/2 : 0;
|
||||
int maxNextPitch = iPitch<m_nPitch-m_transitionWidth/2 ? iPitch+m_transitionWidth/2 : m_nPitch-1;
|
||||
size_t minNextPitch = iPitch>m_transitionWidth/2 ? iPitch-m_transitionWidth/2 : 0;
|
||||
size_t maxNextPitch = iPitch<m_nPitch-m_transitionWidth/2 ? iPitch+m_transitionWidth/2 : m_nPitch-1;
|
||||
|
||||
// WEIGHT VECTOR
|
||||
double weightSum = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue