Commit 4dfd0c82 authored by Davis King's avatar Davis King

Allow 64bit seeds for murmur hash.

parent f32abe97
...@@ -320,7 +320,7 @@ namespace dlib ...@@ -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;
......
...@@ -65,7 +65,7 @@ namespace dlib ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment