Skip to content

Commit

Permalink
[test][fix] Add ivf pq boundary test timestamp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Haijun Yu committed Dec 5, 2023
1 parent b603cec commit a9c6543
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_vector_index_raw_ivf_pq_boundary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ TEST_F(VectorIndexRawIvfPqBoundaryTest, Create) {
int max_internal_nbits_per_idx = 16;
int max_internal_ncentroids = 256;

for (int internal_dimension = 1; internal_dimension <= max_internal_dimension; internal_dimension++) {
for (int internal_dimension = 1; internal_dimension <= max_internal_dimension; internal_dimension*=2) {
// // create random data
// {
// std::mt19937 rng;
Expand All @@ -155,9 +155,9 @@ TEST_F(VectorIndexRawIvfPqBoundaryTest, Create) {
// internal_dimension)
// << '\n';
for (int internal_nbits_per_idx = 1; internal_nbits_per_idx <= max_internal_nbits_per_idx;
internal_nbits_per_idx++) {
for (int internal_nsubvector = 1; internal_nsubvector <= internal_dimension; internal_nsubvector++)
for (int internal_ncentroids = 1; internal_ncentroids <= max_internal_ncentroids; internal_ncentroids++) {
internal_nbits_per_idx*=2) {
for (int internal_nsubvector = 1; internal_nsubvector <= internal_dimension; internal_nsubvector*=2)
for (int internal_ncentroids = 1; internal_ncentroids <= max_internal_ncentroids; internal_ncentroids*=2) {
// create random data
{
std::mt19937 rng;
Expand Down

0 comments on commit a9c6543

Please sign in to comment.