We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acf85af commit fd520e1Copy full SHA for fd520e1
src/roaring.c
@@ -614,7 +614,7 @@ void roaring_bitmap_remove(roaring_bitmap_t *r, uint32_t val) {
614
ra_set_container_at_index(&r->high_low_container, i, container2,
615
newtypecode);
616
}
617
- if (container_get_cardinality(container2, newtypecode) != 0) {
+ if (container_nonzero_cardinality(container2, newtypecode)) {
618
619
620
} else {
0 commit comments