diff --git a/src/fixedCodebookSearch.c b/src/fixedCodebookSearch.c index 67cb050..f66c20b 100644 --- a/src/fixedCodebookSearch.c +++ b/src/fixedCodebookSearch.c @@ -60,7 +60,7 @@ void fixedCodebookSearch(word16_t targetSignal[], word16_t impulseResponse[], in int correlationSignalSign[L_SUBFRAME]; /* to store the sign of each correlationSignal element */ /* build the matrix ะค' : impulseResponse correlation matrix spec 3.8.1 eq51, eq56 and eq57 */ /* correlationSignal turns to absolute values and sign of elements is stored in correlationSignalSign */ - word32_t Phi[L_SUBFRAME][L_SUBFRAME] = {0}; + word32_t Phi[L_SUBFRAME][L_SUBFRAME] = {{0}}; int m3Base; int i0=0, i1=0, i2=0, i3=0; word32_t correlationSquareMax = -1;