Mercurial > hg > match-vamp
diff src/MatchFeatureFeeder.cpp @ 183:24ddab06aace re-minimise
Toward allowing types to be small again. Doesn't currently build
author | Chris Cannam |
---|---|
date | Thu, 19 Feb 2015 17:17:20 +0000 |
parents | 8e7f96432570 |
children | f415747b151b |
line wrap: on
line diff
--- a/src/MatchFeatureFeeder.cpp Thu Feb 19 16:57:19 2015 +0000 +++ b/src/MatchFeatureFeeder.cpp Thu Feb 19 17:17:20 2015 +0000 @@ -30,7 +30,7 @@ } void -MatchFeatureFeeder::feed(vector<double> f1, vector<double> f2) +MatchFeatureFeeder::feed(feature_t f1, feature_t f2) { // We maintain two FIFO queues of feature vectors, one per input // stream. When the match-feeder function is entered, it knows @@ -58,7 +58,7 @@ return 0; } int bestRow = 0; - double bestCost = 0; + pathcost_t bestCost = 0; if (!m_finder.getBestColCost(m_pm2->getFrameCount()-1, bestRow, bestCost)) { return -1; } else {