[PATCH 03/73] Fix volk_32fc_index_min_32u_neon
authorZlika <zlika_ese@hotmail.com>
Fri, 11 Jun 2021 14:46:51 +0000 (16:46 +0200)
committerA. Maitland Bottoms <bottoms@debian.org>
Fri, 22 Oct 2021 03:30:05 +0000 (04:30 +0100)
Signed-off-by: Zlika <zlika_ese@hotmail.com>
Gbp-Pq: Name 0003-Fix-volk_32fc_index_min_32u_neon.patch

kernels/volk/volk_32fc_index_min_32u.h

index 31eb0941f56d6bbdeab79a4d7e4346b2a7f0c746..545f9bfcb98f88906cc47f2c488892413cab5079 100644 (file)
@@ -480,7 +480,7 @@ volk_32fc_index_min_32u_neon(uint32_t* target, lv_32fc_t* src0, uint32_t num_poi
         float min = FLT_MAX;
         uint32_t index = 0;
 
-        float32x4_t vec_min = vdupq_n_f32(*src0Ptr);
+        float32x4_t vec_min = vdupq_n_f32(FLT_MAX);
 
         for (; number < quarter_points; number++) {
             // Load complex and compute magnitude squared