Allow 64bit seeds for murmur hash.

This commit is contained in:
Davis King 2018-07-24 13:05:11 -04:00
parent f32abe9758
commit 4dfd0c82e3
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ namespace dlib
inline std::pair<uint64,uint64> murmur_hash3_128bit ( inline std::pair<uint64,uint64> murmur_hash3_128bit (
const void* key, const void* key,
const int len, const int len,
const uint32 seed = 0 const uint64 seed = 0
) )
{ {
const uint8 * data = (const uint8*)key; const uint8 * data = (const uint8*)key;

View File

@ -65,7 +65,7 @@ namespace dlib
std::pair<uint64,uint64> murmur_hash3_128bit ( std::pair<uint64,uint64> murmur_hash3_128bit (
const void* key, const void* key,
const int len, const int len,
const uint32 seed = 0 const uint64 seed = 0
); );
/*! /*!
requires requires