Skip to content

Commit 8e62968

Browse files
committed
use rounded size estimate in README
1 parent 8390d99 commit 8e62968

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

crates/geo_filters/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ let mut c2 = GeoDistinctCount13::default();
3232
c2.push(2);
3333
c2.push(3);
3434

35-
let estimated_size = c1.size_with_sketch_real(&c2);
36-
assert!(estimated_size >= 3.0_f32 * 0.9 &&
37-
estimated_size <= 3.0_f32 * 1.1);
35+
let estimated_size = c1.size_with_sketch(&c2);
36+
assert_eq!(estimated_size, 3);
3837
```
3938

4039
## Background

0 commit comments

Comments
 (0)