Use Bob Jenkins lookup3 hash instead of FNV.
[pspp-builds.git] / src / language / stats / crosstabs.q
index 309b27fc3c51cb136ae5f9d012e5d538625ade5d..0a5e34099d249b389f5ba30f61ccbb3d227b6345 100644 (file)
@@ -777,7 +777,7 @@ hash_table_entry (const void *a_, const void *aux UNUSED)
 
   hash = a->table;
   for (i = 0; i < xtab[a->table]->nvar; i++)
-    hash ^= hsh_hash_bytes (&a->values[i], sizeof a->values[i]);
+    hash = hash_bytes (&a->values[i], sizeof a->values[i], hash);
 
   return hash;
 }