Mercurial > hg > match-vamp
changeset 189:d4b3b5c2cb58 re-minimise
Fix typo
| author | Chris Cannam |
|---|---|
| date | Thu, 26 Feb 2015 12:26:33 +0000 |
| parents | 487261a22b18 |
| children | 48f9c50587dc |
| files | src/MatchTypes.h |
| diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/MatchTypes.h Thu Feb 26 12:19:17 2015 +0000 +++ b/src/MatchTypes.h Thu Feb 26 12:26:33 2015 +0000 @@ -18,6 +18,7 @@ #include <vector> #include <cstdint> +#include <float.h> #ifdef USE_COMPACT_TYPES @@ -56,13 +57,13 @@ /// The distance between two feature vectors typedef float distance_t; -const float MaxDistance = FLOAT_MAX; +const float MaxDistance = FLT_MAX; const float InvalidDistance = -1.f; /// The integrated distance (path cost) from the origin to a given point typedef double pathcost_t; -const double MaxPathCost = DOUBLE_MAX; +const double MaxPathCost = DBL_MAX; const double InvalidPathCost = -1.; /// A direction advance instruction or state
