diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-10-10 19:08:57 +0100 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-10-10 19:08:57 +0100 |
commit | 5cae1b0d633e0507cf377e2664bba919ec48745a (patch) | |
tree | 0f89f78851becfe04baeb02eb1a2cd8d13b47fb7 /klm/lm/search_hashed.hh | |
parent | 1ba2dacb4c9a25b1176af08342b6d12add8e0b0b (diff) |
Update KenLM
Diffstat (limited to 'klm/lm/search_hashed.hh')
-rw-r--r-- | klm/lm/search_hashed.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klm/lm/search_hashed.hh b/klm/lm/search_hashed.hh index 3bcde921..a52f107b 100644 --- a/klm/lm/search_hashed.hh +++ b/klm/lm/search_hashed.hh @@ -161,7 +161,7 @@ template <class Value> class HashedSearch { {} static uint64_t Size(uint64_t count) { - return (count + 1) * sizeof(ProbBackoff); // +1 for hallucinate <unk> + return (count + 1) * sizeof(typename Value::Weights); // +1 for hallucinate <unk> } const typename Value::Weights &Lookup(WordIndex index) const { |