diff options
author | Kenneth Heafield <kenlm@kheafield.com> | 2012-03-09 16:35:10 -0500 |
---|---|---|
committer | Kenneth Heafield <kenlm@kheafield.com> | 2012-03-09 16:35:10 -0500 |
commit | da28444588103f418ed7cab5cbc298c048ea2b08 (patch) | |
tree | 4c8bdc831a76d5bb5ed64a858d7e66af059e0e07 /klm/lm | |
parent | 0ab9e175f86b3fd02a4a94f350282210aba054e3 (diff) |
KenLM d45e2be including CreateOrThrow for Jon
Diffstat (limited to 'klm/lm')
-rw-r--r-- | klm/lm/left.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klm/lm/left.hh b/klm/lm/left.hh index 41f71f84..a07f9803 100644 --- a/klm/lm/left.hh +++ b/klm/lm/left.hh @@ -112,7 +112,7 @@ inline size_t hash_value(const ChartState &state) { size_t hashes[2]; hashes[0] = hash_value(state.left); hashes[1] = hash_value(state.right); - return util::MurmurHashNative(hashes, sizeof(size_t), state.full); + return util::MurmurHashNative(hashes, sizeof(size_t) * 2, state.full); } template <class M> class RuleScore { |