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 17b3299c7c
commit 13ab2f0988

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",