Skip to content

Commit f271dc9

Browse files
committed
typo
1 parent e5d46aa commit f271dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/svs/core/distance/simd_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ template <> struct ConvertToFloat<8> {
333333
// from float
334334
static __m256 load(const float* ptr) { return _mm256_loadu_ps(ptr); }
335335
static __m256 load(mask_t m, const float* ptr) {
336-
// Full width load with blending may case out-of-bounds read (SEGV)
336+
// Full width load with blending may cause out-of-bounds read (SEGV)
337337
// Therefore we use _mm256_maskload_ps which safely handles masked loads
338338
auto mask_vec = _mm256_castps_si256(create_blend_mask_avx2(m));
339339
return _mm256_maskload_ps(ptr, mask_vec);

0 commit comments

Comments
 (0)