Mercurial > hg > match-vamp
diff src/Matcher.h @ 188:487261a22b18 re-minimise
distance_t * diagonalWeight might not fit in distance_t; use pathcost_t for it. Also remove C-style casts.
author | Chris Cannam |
---|---|
date | Thu, 26 Feb 2015 12:19:17 +0000 |
parents | ba0d2104abec |
children | f415747b151b |
line wrap: on
line diff
--- a/src/Matcher.h Thu Feb 26 10:48:36 2015 +0000 +++ b/src/Matcher.h Thu Feb 26 12:19:17 2015 +0000 @@ -84,7 +84,7 @@ * normal DTW approach for performances with similar speeds * might use 1.0 or something close to it. */ - float diagonalWeight; + double diagonalWeight; }; /** Constructor for Matcher. @@ -134,7 +134,7 @@ return m_otherMatcher->getFrameCount(); } - float getDiagonalWeight() { + double getDiagonalWeight() { return m_params.diagonalWeight; }