Use of hash function over integer.

This commit is contained in:
Patrick Pelissier committed 2017-03-25 01:55:59 +01:00
1 parent e314f7c272
commit b0b70c6e5d
1 file changed
+1 -1
+1 -1
View File
@@ -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)