Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Jan 23, 2024
1 parent 92f690c commit 23b9efa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class open_addressing_impl {
alloc}
{
CUCO_EXPECTS(desired_load_factor > 0., "Desired occupancy must be larger than zero");
CUCO_EXPECTS(desired_load_factor < 1., "Desired occupancy must be smaller than one");
CUCO_EXPECTS(desired_load_factor <= 1., "Desired occupancy must be no larger than one");

this->clear_async(stream);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/static_set/retrieve_all_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ TEMPLATE_TEST_CASE_SIG(
(int64_t, cuco::test::probe_sequence::linear_probing, 2))
{
constexpr std::size_t num_keys{400};
constexpr double desired_load_factor = 0.5;
constexpr double desired_load_factor = 1.;
auto constexpr gold_capacity = CGSize == 1 ? 409 // 409 x 1 x 1
: 422 // 211 x 2 x 1
;
Expand Down

0 comments on commit 23b9efa

Please sign in to comment.