diff options
| author | Tyge Løvset <[email protected]> | 2021-09-19 12:58:07 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-09-19 12:58:07 +0200 |
| commit | 58b2831a7287cb00d14a221a9d0263fb0c427675 (patch) | |
| tree | 9faa98de7c9b6edad0aecd559419121212e54d69 | |
| parent | b667a161ef058fa7ecf6ac8833dcfaf0242b913c (diff) | |
| download | STC-modified-58b2831a7287cb00d14a221a9d0263fb0c427675.tar.gz STC-modified-58b2831a7287cb00d14a221a9d0263fb0c427675.zip | |
Fixed birthday.c double delete.
| -rw-r--r-- | examples/birthday.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/birthday.c b/examples/birthday.c index eca105df..573ea7d8 100644 --- a/examples/birthday.c +++ b/examples/birthday.c @@ -27,7 +27,6 @@ static void test_repeats(void) if (v > 1) printf("repeated value %zu (%d) at 2^%d\n", k, v, (int) log2(i));
}
}
- cmap_ic_del(&m);
}
#define i_tag x
@@ -41,7 +40,7 @@ void test_distribution(void) printf("distribution test: 2^%d values\n", BITS);
stc64_t rng = stc64_init(seed);
const size_t N = 1ull << BITS ;
-
+
c_forauto (cmap_x, map) {
c_forrange (N) {
uint64_t k = stc64_rand(&rng);
|
