diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-03-20 14:18:16 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-03-21 14:56:15 +0100 |
| commit | e9dcbeaba956e84d1e591e9b520f3b7bb4fa6354 (patch) | |
| tree | 19b4d548127766862a79f5521f75a590b90090b1 /match/match.h | |
| parent | ea6cfa421b7cef91eba85c5144eec14288c41c4c (diff) | |
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 <rydberg@euromail.se>
Diffstat (limited to 'match/match.h')
| -rw-r--r-- | match/match.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 34 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) | 34 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) |
| 35 | #define MAX(a, b) ((a) < (b) ? (b) : (a)) | 35 | #define MAX(a, b) ((a) < (b) ? (b) : (a)) |
| 36 | 36 | ||
| 37 | void match_fingers(int index[DIM_FINGER], float A[DIM2_FINGER], | 37 | void match_fingers(int index[DIM_FINGER], int A[DIM2_FINGER], |
| 38 | int nrow, int ncol); | 38 | int nrow, int ncol); |
| 39 | 39 | ||
| 40 | #endif | 40 | #endif |
