Mercurial > hg > match-vamp
changeset 73:7e3c1bc0984a refactors
Tidy
author | Chris Cannam |
---|---|
date | Wed, 19 Nov 2014 10:48:27 +0000 |
parents | c3c50d5e05b7 |
children | b9aa663a607b |
files | src/Finder.cpp |
diffstat | 1 files changed, 1 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Finder.cpp Wed Nov 19 10:18:19 2014 +0000 +++ b/src/Finder.cpp Wed Nov 19 10:48:27 2014 +0000 @@ -79,19 +79,6 @@ } } - // System.err.print(" BEST: " + bestRow + " " + bestCol + " " + check); - // System.err.println(" " + pm1->frameCount + " " + pm2->frameCount); - /* - if (check) { - // System.err.println(find(row+1, col) + " " + find(row, col+1)); - if (!find(row, col+1)) { - return Matcher::AdvanceThis; - } else if (!find(row+1, col)) { - return Matcher::AdvanceOther; - } - } - */ - if (bestRow == row) { if (bestCol == col) { return Matcher::AdvanceBoth; @@ -104,7 +91,7 @@ return Matcher::AdvanceNone; } -} // getExpandDirection() +} void Finder::recalculatePathCostMatrix(int r1, int c1, int r2, int c2)