Skip to content

Commit

Permalink
Add missing fallthrough to fbcode/faiss/utils/hamming_distance/neon-i…
Browse files Browse the repository at this point in the history
…nl.h

Differential Revision: D52436745

fbshipit-source-id: 7e4c55a8255b2f25b3394146a24d1af698b3b2e9
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 27, 2023
1 parent 0727fff commit 449f02c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions faiss/utils/hamming_distance/neon-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ struct HammingComputerDefault {
len -= 8;
accu += popcount64(a64[i] ^ b64[i]);
i++;
[[fallthrough]];
case 7:
accu += popcount64(a64[i] ^ b64[i]);
i++;
Expand Down

0 comments on commit 449f02c

Please sign in to comment.