tests: lib: cmsis_dsp: matrix: fix double-promotion warning

Double promotion warnings are generated with the flag -Wdouble-promotion

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
Ryan McClelland 2023-08-22 23:55:03 -07:00 committed by Fabio Baltieri
parent 66bf33f090
commit ffe8815c8c

View file

@ -13,11 +13,11 @@
#include "unary_f64.pat"
#define SNR_ERROR_THRESH ((float32_t)120)
#define SNR_ERROR_THRESH ((float64_t)120)
#define REL_ERROR_THRESH (1.0e-6)
#define ABS_ERROR_THRESH (1.0e-5)
#define SNR_ERROR_THRESH_CHOL ((float32_t)270)
#define SNR_ERROR_THRESH_CHOL ((float64_t)270)
#define REL_ERROR_THRESH_CHOL (1.0e-9)
#define ABS_ERROR_THRESH_CHOL (1.0e-9)