Commit 19df94e6 authored by multrus's avatar multrus
Browse files

compiler warning in mat2svdMat()

parent c8d9f3a8
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -96,22 +96,26 @@ void mat2svdMat(
)
{
    int16_t i, j;
#ifndef FIX_506
    int16_t posCounter;
#endif

    if ( transpose )
    {
#ifndef FIX_506
        posCounter = 0;

#endif
        for ( i = 0; i < mCols; i++ )
        {
            for ( j = 0; j < nRows; j++ )
            {
                svdMat[i][j] = mat[j + nRows * i];

#ifndef FIX_506
                if ( mat[j + nRows * i] > 0.0f )
                {
                    posCounter++;
                }
#endif
            }

            set_zero( &svdMat[i][mCols], MAX_OUTPUT_CHANNELS - nRows );