You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following static assertion triggers even when it shouldn't because it is evaluated even when the alternate bucket selection method isn't TABLE_BASED_OFFSET, causing Morton1_8 to fail to compile (it uses FUNCTION_BASED_OFFSET, and the assertion shouldn't trigger).
Since _alternate_bucket_selection_method is known at compile time, the inverse of the case taken should be added to the assertion, something like this:
static_assert(offsets[0] > _buckets_per_block ||
_alternate_bucket_selection_method != AlternateBucketSelectionMethodEnum::TABLE_BASED_OFFSET,
"Cannot use TABLE_BASED_OFFSET with so many buckets per block");
The text was updated successfully, but these errors were encountered:
The following static assertion triggers even when it shouldn't because it is evaluated even when the alternate bucket selection method isn't
TABLE_BASED_OFFSET
, causing Morton1_8 to fail to compile (it usesFUNCTION_BASED_OFFSET
, and the assertion shouldn't trigger).morton_filter/compressed_cuckoo_filter.h
Lines 397 to 398 in cb7b788
context:
morton_filter/compressed_cuckoo_filter.h
Lines 391 to 412 in cb7b788
Since
_alternate_bucket_selection_method
is known at compile time, the inverse of thecase
taken should be added to the assertion, something like this:The text was updated successfully, but these errors were encountered: