From abdc8aa89f87e27314e7ad66c47c953c89a30fe5 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Wed, 20 Nov 2019 09:17:08 +0100 Subject: [PATCH] CMSIS-DSP:Corrected bug in arm_div_q63_to_q31 --- Include/arm_math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/arm_math.h b/Include/arm_math.h index 03cfa44a..c925b244 100644 --- a/Include/arm_math.h +++ b/Include/arm_math.h @@ -1350,7 +1350,7 @@ __STATIC_INLINE q31_t arm_div_q63_to_q31(q63_t num, q31_t den) /* * 64-bit division */ - result = (q31_t) num / den; + result = (q31_t) (num / den); return result; }