From fa38aed181cf8a1da8f6b46eca40289922214002 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Tue, 14 Jan 2020 12:51:22 +0100 Subject: [PATCH] CMSIS-DSP: Corrected compilation issues with AC5 and gcc. --- Testing/Source/Tests/SupportTestsF32.cpp | 1 + Testing/Source/Tests/TransformCQ31.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Testing/Source/Tests/SupportTestsF32.cpp b/Testing/Source/Tests/SupportTestsF32.cpp index 8f9ea251..25ddd6fb 100755 --- a/Testing/Source/Tests/SupportTestsF32.cpp +++ b/Testing/Source/Tests/SupportTestsF32.cpp @@ -1,4 +1,5 @@ #include "SupportTestsF32.h" +#include #include #include "Error.h" #include "arm_math.h" diff --git a/Testing/Source/Tests/TransformCQ31.cpp b/Testing/Source/Tests/TransformCQ31.cpp index 2196271b..9f7a790a 100755 --- a/Testing/Source/Tests/TransformCQ31.cpp +++ b/Testing/Source/Tests/TransformCQ31.cpp @@ -24,7 +24,7 @@ 1); ASSERT_SNR(outputfft,ref,(float32_t)SNR_THRESHOLD); - ASSERT_NEAR_EQ(outputfft,ref,32); + ASSERT_NEAR_EQ(outputfft,ref,(q31_t)32); ASSERT_EMPTY_TAIL(outputfft);