diff src/MatchFeatureFeeder.cpp @ 191:f415747b151b re-minimise

Normalised path costs should use a different type from un-normalised ones (because they are in a different range)
author Chris Cannam
date Thu, 26 Feb 2015 15:52:16 +0000
parents 24ddab06aace
children f6be68852c1d
line wrap: on
line diff
--- a/src/MatchFeatureFeeder.cpp	Thu Feb 26 15:51:50 2015 +0000
+++ b/src/MatchFeatureFeeder.cpp	Thu Feb 26 15:52:16 2015 +0000
@@ -58,7 +58,7 @@
         return 0;
     }
     int bestRow = 0;
-    pathcost_t bestCost = 0;
+    normpathcost_t bestCost = 0;
     if (!m_finder.getBestColCost(m_pm2->getFrameCount()-1, bestRow, bestCost)) {
         return -1;
     } else {