From ecb9df9e180f00c441021e09ee57acb819393b15 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Thu, 19 Mar 2020 11:02:52 +0100 Subject: [PATCH] CMSIS-DSP: Corrected type mistake. --- Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c index 310ed98a..82b31f9d 100644 --- a/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c +++ b/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c @@ -71,7 +71,7 @@ void arm_cmplx_mult_cmplx_q15( vecA = vld1q(pSrcA); vecB = vld1q(pSrcB); /* C[2 * i] = A[2 * i] * B[2 * i] - A[2 * i + 1] * B[2 * i + 1]. */ - vecDst = vqdmlsdhq_s16(vuninitializedq_f16(), vecA, vecB); + vecDst = vqdmlsdhq_s16(vuninitializedq_s16(), vecA, vecB); /* C[2 * i + 1] = A[2 * i] * B[2 * i + 1] + A[2 * i + 1] * B[2 * i]. */ vecDst = vqdmladhxq_s16(vecDst, vecA, vecB);