mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Fix Word hash
This commit is contained in:
parent
a5b800bebe
commit
3dce14bb8d
@ -138,7 +138,7 @@ public:
|
||||
void CreateUnknownWord(const Word &sourceWord);
|
||||
|
||||
inline size_t hash() const {
|
||||
return util::MurmurHashNative(m_factorArray, MAX_NUM_FACTORS, m_isNonTerminal);
|
||||
return util::MurmurHashNative(m_factorArray, MAX_NUM_FACTORS*sizeof(Factor*), m_isNonTerminal);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user