Mercurial > hg > match-vamp
comparison src/Matcher.cpp @ 217:aa795f660b2b
Comment out this debug out
author | Chris Cannam |
---|---|
date | Fri, 06 Mar 2015 13:28:08 +0000 |
parents | 97cc0b9135e7 |
children | edd9c1c769a0 |
comparison
equal
deleted
inserted
replaced
216:ccdadbdd80df | 217:aa795f660b2b |
---|---|
468 | 468 |
469 if (idx < 0 || size_t(idx) == m_otherMatcher->m_distance[j].size()) { | 469 if (idx < 0 || size_t(idx) == m_otherMatcher->m_distance[j].size()) { |
470 // This should never happen, but if we allow arbitrary | 470 // This should never happen, but if we allow arbitrary |
471 // pauses in either direction, and arbitrary lengths at | 471 // pauses in either direction, and arbitrary lengths at |
472 // end, it is better than a segmentation fault. | 472 // end, it is better than a segmentation fault. |
473 cerr << "Emergency resize: " << idx << " -> " << idx * 2 << endl; | 473 // cerr << "Emergency resize: " << idx << " -> " << idx * 2 << endl; |
474 m_otherMatcher->m_bestPathCost[j].resize(idx * 2, INVALID_PATHCOST); | 474 m_otherMatcher->m_bestPathCost[j].resize(idx * 2, INVALID_PATHCOST); |
475 m_otherMatcher->m_distance[j].resize(idx * 2, INVALID_DISTANCE); | 475 m_otherMatcher->m_distance[j].resize(idx * 2, INVALID_DISTANCE); |
476 m_otherMatcher->m_advance[j].resize(idx * 2, AdvanceNone); | 476 m_otherMatcher->m_advance[j].resize(idx * 2, AdvanceNone); |
477 } | 477 } |
478 | 478 |