diff options
author | Peng Wu <alexepico@gmail.com> | 2017-02-13 13:14:30 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2017-02-13 13:14:30 +0800 |
commit | 114e9dc802ea243925ce9e19e0ce4e2d83356ac5 (patch) | |
tree | c7613bb2080ad48d6ddde3e0cff6c4c5b22e950e /src/lookup | |
parent | bac036fbf602ecf9879b900dffde9f791c9936f0 (diff) | |
download | libpinyin-114e9dc802ea243925ce9e19e0ce4e2d83356ac5.tar.gz libpinyin-114e9dc802ea243925ce9e19e0ce4e2d83356ac5.tar.xz libpinyin-114e9dc802ea243925ce9e19e0ce4e2d83356ac5.zip |
fixes a typo
Diffstat (limited to 'src/lookup')
-rw-r--r-- | src/lookup/phonetic_lookup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lookup/phonetic_lookup.h b/src/lookup/phonetic_lookup.h index af521cc..845bf90 100644 --- a/src/lookup/phonetic_lookup.h +++ b/src/lookup/phonetic_lookup.h @@ -35,7 +35,7 @@ namespace pinyin{ /* internal definition */ static const size_t nbeam = 32; -#define LONG_SENTENCE_PENALTY log(1.2) +#define LONG_SENTENCE_PENALTY log(1.2f) struct trellis_value_t { phrase_token_t m_handles[2]; |