summaryrefslogtreecommitdiff
path: root/klm/lm
diff options
context:
space:
mode:
authorKenneth Heafield <kenlm@kheafield.com>2012-03-09 16:35:10 -0500
committerKenneth Heafield <kenlm@kheafield.com>2012-03-09 16:35:10 -0500
commit249301376865578b7f9678cc97c0f8b6f78623f6 (patch)
treed87bebde8e2294c30d43530b6efa9aa732501275 /klm/lm
parent78bf1457f606dd3880c2bc912201c4945d3f85b4 (diff)
KenLM d45e2be including CreateOrThrow for Jon
Diffstat (limited to 'klm/lm')
-rw-r--r--klm/lm/left.hh2
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 {