aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-01-15 18:48:57 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-15 18:48:58 -0800
commitb4f89c0368ce00b07ec1531f9ddefbe00380e5bb (patch)
tree5737acf5fba75f3c4957ce71573e44354fb98144 /native/jni/src/defines.h
parent9579936bcf6bc5cecee315c5e40a30af77f47dfd (diff)
parentf25e7053e57c5c7b72c4403ed220d2a961ecdd06 (diff)
downloadlatinime-b4f89c0368ce00b07ec1531f9ddefbe00380e5bb.tar.gz
latinime-b4f89c0368ce00b07ec1531f9ddefbe00380e5bb.tar.xz
latinime-b4f89c0368ce00b07ec1531f9ddefbe00380e5bb.zip
Merge "Follow up to I21b54b35"
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r--native/jni/src/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h
index c89a870b9..4d5a2b261 100644
--- a/native/jni/src/defines.h
+++ b/native/jni/src/defines.h
@@ -316,7 +316,7 @@ static inline void prof_out(void) {
#define TWO_WORDS_CAPITALIZED_DEMOTION_RATE 50
#define TWO_WORDS_CORRECTION_DEMOTION_BASE 80
#define TWO_WORDS_PLUS_OTHER_ERROR_CORRECTION_DEMOTION_DIVIDER 1
-#define ZERO_DISTANCE_PROMOTION_RATE 110
+#define ZERO_DISTANCE_PROMOTION_RATE 110.0f
#define NEUTRAL_SCORE_SQUARED_RADIUS 8.0f
#define HALF_SCORE_SQUARED_RADIUS 32.0f
#define MAX_FREQ 255