dvlab-research / PointGroup

PointGroup: Dual-Set Point Grouping for 3D Instance Segmentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fnv-1 hash definition

TerryLiu007 opened this issue · comments

I found the following code snippet in 'datatype.h':

template struct IntArrayHash{
std::size_t operator()(Point const &p) const{
Int hash = 16777619;
for(auto x : p){
hash *= 2166136261;
hash ^= x;
}
return hash;
}
};

According to the definition of fnv-1 hash, shouldn't the offset-basis be 2166136261 and prime be 16777619?