Skip to content

Commit

Permalink
fix: fvec_L2sqr_ny_nearest_avx bad memory access (zilliztech#1066)
Browse files Browse the repository at this point in the history
Signed-off-by: cqy123456 <[email protected]>
  • Loading branch information
cqy123456 authored and adarshs1310 committed Feb 26, 2025
1 parent 0d4c270 commit bf8f1e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/simd/distances_avx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,6 @@ fvec_L2sqr_ny_avx_impl(float* dis, const float* x, const float* y, size_t d, siz
while (i < ny) {
const float* __restrict y_i = y + d * i;
dis[i] = fvec_L2sqr_avx(x, y_i, d);
y += d;
i++;
}
}
Expand Down

0 comments on commit bf8f1e7

Please sign in to comment.