From e9dcbeaba956e84d1e591e9b520f3b7bb4fa6354 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sat, 20 Mar 2010 14:18:16 +0100 Subject: Matcher: convert distance matrix to integer In order to reduce the requirements on the cpu environment running the matcher, the floating-point operations are converted to integer. Care is taken as to not overflow the distance matrix. Signed-off-by: Henrik Rydberg --- match/match.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'match/match.h') diff --git a/match/match.h b/match/match.h index 0c4274e..6420b00 100644 --- a/match/match.h +++ b/match/match.h @@ -34,7 +34,7 @@ #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) < (b) ? (b) : (a)) -void match_fingers(int index[DIM_FINGER], float A[DIM2_FINGER], +void match_fingers(int index[DIM_FINGER], int A[DIM2_FINGER], int nrow, int ncol); #endif -- cgit v1.2.3