Revision 34:3fb9c657d86b NoteHypothesis.cpp

View differences:

NoteHypothesis.cpp
134 134
NoteHypothesis::getMeanFrequency() const
135 135
{
136 136
    double acc = 0.0;
137
    if (m_pending.empty()) return acc;
137 138
    for (int i = 0; i < (int)m_pending.size(); ++i) {
138 139
        acc += m_pending[i].freq;
139 140
    }

Also available in: Unified diff