summaryrefslogtreecommitdiff
path: root/klm/lm/left.hh
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-03-09 22:24:05 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2012-03-09 22:24:05 -0500
commit164ef0ee3579202af838c54bdb402ce5559b6044 (patch)
treea163c94ff999bd5920461da75a0e22a6792b35ac /klm/lm/left.hh
parent113317266853abff2e1c0c3e889017d0eee55c93 (diff)
parent249301376865578b7f9678cc97c0f8b6f78623f6 (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'klm/lm/left.hh')
-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 {