Skip to content

Commit

Permalink
fixed typo as spotted by @rurban
Browse files Browse the repository at this point in the history
  • Loading branch information
jermp committed Jan 8, 2025
1 parent 9e627c1 commit c83b449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/builders/external_memory_builder_single_phf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct external_memory_builder_single_phf {
? compute_num_buckets(num_keys, config.lambda)
: config.num_buckets;

#ifndef DPTHASH_ENABLE_LARGE_BUCKET_ID_TYPE
#ifndef PTHASH_ENABLE_LARGE_BUCKET_ID_TYPE
if (num_buckets >= (1ULL << (sizeof(bucket_id_type) * 8))) {
throw std::runtime_error(
"using too many buckets: recompile the library with 'cmake .. "
Expand Down
2 changes: 1 addition & 1 deletion include/builders/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace pthash {

#ifdef DPTHASH_ENABLE_LARGE_BUCKET_ID_TYPE
#ifdef PTHASH_ENABLE_LARGE_BUCKET_ID_TYPE
typedef uint64_t bucket_id_type;
#else
typedef uint32_t bucket_id_type;
Expand Down

0 comments on commit c83b449

Please sign in to comment.