From 1a2ca9991dbcacb7ce7f24140016a5fea4898014 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Fri, 10 Nov 2023 09:35:18 +0100 Subject: [PATCH] break NEON impl to check tests work --- src/distance_neon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/distance_neon.cc b/src/distance_neon.cc index 8e8783e..1abcda6 100644 --- a/src/distance_neon.cc +++ b/src/distance_neon.cc @@ -45,7 +45,7 @@ int distance_neon(const std::vector &a, r_b = vceqzq_u8(r_b); // only keep LSB for each uint8 to get either 0 or 1 r_a = vandq_u8(r_a, lsb); - r_b = vandq_u8(r_b, lsb); + r_b = vandq_u8(r_a, lsb); // add these values to distance counts r_s = vaddq_u8(r_s, r_a); r_s = vaddq_u8(r_s, r_b);