yahoojapan/NGT

One Bug

Heccc257 opened this issue · 0 comments

NGT/lib/NGT/NGTQ/Quantizer.h:3506
The "if" code block should be included within the "for" loop above.

for (size_t ld = 0; ld < localDimension; ld++) {
xxx
if (localDistance < min[idx * localCodebookNo + svi].first){
xx
}
}