Use of hash function over integer.
This commit is contained in:
1 parent
e314f7c272
commit
b0b70c6e5d
1 file changed
+1
-1
+1
-1
@@ -122,7 +122,7 @@ static void test_rbtree(size_t n)
|
||||
/********************************************************************************************/
|
||||
|
||||
#define hash_eq(a, b) ((a) == (b))
|
||||
#define hash_func(a) ((a))
|
||||
#define hash_func(a) kh_int_hash_func2(a)
|
||||
|
||||
KHASH_INIT(iun, unsigned long, unsigned long, 1, hash_func, hash_eq)
|
||||
|
||||
|
||||
Reference in new issue
Block a user