Skip to content

Commit 29d003d

Browse files
author
srsampson
committed
tst_codec2_fft_init.c removed .real
1 parent 6422b61 commit 29d003d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stm32/unittest/src/tst_codec2_fft_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ int main(int argc, char *argv[]) {
8585
j = (FFT_ENC / 2) - 8;
8686
for (i=0; i<16; i++) {
8787
printf("W[%d] = %f", j+i,
88-
(double)codec2->W[j+i].real);
89-
if (!float_cmp(codec2->W[j+i].real, expect_W[i])) {
88+
(double)codec2->W[j+i]);
89+
if (!float_cmp(codec2->W[j+i], expect_W[i])) {
9090
printf(" Error, expected %f", (double)expect_W[i]);
9191
}
9292
printf("\n");

0 commit comments

Comments
 (0)