Skip to content

Commit

Permalink
Fix: Jaccard denominator in NEON
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Oct 28, 2024
1 parent efdc134 commit a4ed2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/simsimd/binary.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ SIMSIMD_PUBLIC void simsimd_jaccard_b8_neon(simsimd_b8_t const *a, simsimd_b8_t
unions_cycle_vec = vaddq_u8(unions_cycle_vec, or_count_vec);
}
intersection += _simsimd_reduce_u8x16_neon(intersections_cycle_vec);
union_ += _simsimd_reduce_u8x16_neon(intersections_cycle_vec);
union_ += _simsimd_reduce_u8x16_neon(unions_cycle_vec);
}
// Handle the tail
for (; i != n_words; ++i)
Expand Down

0 comments on commit a4ed2b3

Please sign in to comment.