aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-04-23 18:51:00 +0900
committerJean Chalard <jchalard@google.com>2012-04-24 09:40:44 +0900
commit171d1809ffc724de4fb793f481d592644e3d141e (patch)
treefc3d8d8dc6bfe9e9bbc47e1f4558eb0691486150 /native/jni/src/defines.h
parent5ee0ee0dbe316aac80949bd35f9834e46d5e2799 (diff)
downloadlatinime-171d1809ffc724de4fb793f481d592644e3d141e.tar.gz
latinime-171d1809ffc724de4fb793f481d592644e3d141e.tar.xz
latinime-171d1809ffc724de4fb793f481d592644e3d141e.zip
Add methods to inverse compute the probability.
For now the probability is just returned with the same value it had, but this is some ground work that needs to be done anyway. Bug: 6313806 Change-Id: I9bb8b96b294109771208ade558c9ad56932d2f8e
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 e882c3714..c99f8a8b2 100644
--- a/native/jni/src/defines.h
+++ b/native/jni/src/defines.h
@@ -172,7 +172,7 @@ static inline void prof_out(void) {
#define PROXIMITY_CHAR_WITHOUT_DISTANCE_INFO -3
#define ADDITIONAL_PROXIMITY_CHAR_DISTANCE_INFO -4
#define NOT_AN_INDEX -1
-#define NOT_A_FREQUENCY -1
+#define NOT_A_PROBABILITY -1
#define KEYCODE_SPACE ' '