Skip to content

Commit

Permalink
Fix assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
enp1s0 committed Mar 26, 2024
1 parent 255add7 commit ffa2870
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct cagra_q_dataset_descriptor_t : public dataset_descriptor_base_t<half, DIS
using CODE_BOOK_T = CODE_BOOK_T_;
using QUERY_T = typename dataset_descriptor_base_t<half, DISTANCE_T, INDEX_T>::QUERY_T;

static_assert(std::is_same_v<CODE_BOOK_T, half>, "CODE_BOOK_T = `half` is only supported now");
static_assert(std::is_same_v<CODE_BOOK_T, half>, "Only CODE_BOOK_T = `half` is supported now");

const std::uint8_t* encoded_dataset_ptr;
const std::uint32_t encoded_dataset_dim;
Expand Down

0 comments on commit ffa2870

Please sign in to comment.