1
Fork 0

checking the bug reported by Ayat Dawood. It was fixed using his suggestion (if((bdz->r%2)==0) bdz->r+=1; // The new line)

This commit is contained in:
Fabiano C. Botelho 2009-06-12 03:07:54 -03:00
parent 09f5ac08d5
commit eb1442b4ac
1 changed files with 29 additions and 28 deletions

View File

@ -3,6 +3,7 @@
// Create minimal perfect hash function from in-memory vector // Create minimal perfect hash function from in-memory vector
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
// Creating a filled vector // Creating a filled vector
unsigned int i = 0; unsigned int i = 0;
const char *vector[] = {"aaaaaaaaaa", "bbbbbbbbbb", "cccccccccc", "dddddddddd", "eeeeeeeeee", const char *vector[] = {"aaaaaaaaaa", "bbbbbbbbbb", "cccccccccc", "dddddddddd", "eeeeeeeeee",