diff options
author | 2012-05-16 20:42:12 +0900 | |
---|---|---|
committer | 2012-05-16 20:45:05 +0900 | |
commit | 0028ed3627ff4f37a62a80f3b2c857e373cd5090 (patch) | |
tree | 5dfb19c9605b73416987d3daf3941671fab0f87d /native/jni/src/correction.h | |
parent | f837b57bf51b2767ec62a6140b28d84383ad75b1 (diff) | |
download | latinime-0028ed3627ff4f37a62a80f3b2c857e373cd5090.tar.gz latinime-0028ed3627ff4f37a62a80f3b2c857e373cd5090.tar.xz latinime-0028ed3627ff4f37a62a80f3b2c857e373cd5090.zip |
Use "float" instead of "double"
Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
Diffstat (limited to 'native/jni/src/correction.h')
-rw-r--r-- | native/jni/src/correction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/correction.h b/native/jni/src/correction.h index 1b4e4bf4e..1ac4b8782 100644 --- a/native/jni/src/correction.h +++ b/native/jni/src/correction.h @@ -162,7 +162,7 @@ class Correction { static int calcFreqForSplitMultipleWords(const int *freqArray, const int *wordLengthArray, const int wordCount, const Correction* correction, const bool isSpaceProximity, const unsigned short *word); - static double calcNormalizedScore(const unsigned short* before, const int beforeLength, + static float calcNormalizedScore(const unsigned short* before, const int beforeLength, const unsigned short* after, const int afterLength, const int score); static int editDistance(const unsigned short* before, const int beforeLength, const unsigned short* after, const int afterLength); |