Skip to content

Commit

Permalink
minor bugfix for PQ data allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
rakri committed Oct 7, 2023
1 parent c617e64 commit 3ba680d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pq_data_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ template <typename data_t> void PQDataStore<data_t>::populate_data(const std::st
_pq_distance_fn->is_opq());

// REFACTOR TODO: Not sure of the alignment. Just copying from index.cpp
alloc_aligned(((void **)&_quantized_data), file_num_points * _num_chunks * sizeof(uint8_t), 8);
alloc_aligned(((void **)&_quantized_data), file_num_points * _num_chunks * sizeof(uint8_t), 1);
copy_aligned_data_from_file<uint8_t>(compressed_file.c_str(), _quantized_data, file_num_points, _num_chunks,
_num_chunks);
#ifdef EXEC_ENV_OLS
Expand Down

0 comments on commit 3ba680d

Please sign in to comment.