Commit 41a1b027 authored by Geoff Simmons's avatar Geoff Simmons

Very minor algorithm fix.

parent 9bca303c
......@@ -274,7 +274,7 @@ PH_Generate(char * const * const strings, unsigned n)
j = -1;
memset(bhsh->tbl, 0xff,
bsz * sizeof(*bhsh->tbl));
bhsh->addend = rnd64() | 1;
bhsh->addend = rnd64();
for (unsigned k = 0; k < l; k++)
bhsh->k[k] = rnd64() | 1;
continue;
......
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