Commit 0b033835 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

shl_ro: edit one more assert, run once more

parent 6c14262b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ Word16 normalized_cross_correlation_self_fx( const Word16 *signal,
#ifdef ISSUE_1751_replace_shl_ro
        Word16 op1 = add( normXY, normCC );
        // assert( op1 >= 0 ); FAILS
        assert( op1 <= 0 );
        //assert( op1 <= 0 ); FAILS --> twoway needed
        if ( op1 >= 0 )
        {
            cc = shl_sat( cc, add( normXY, normCC ) );