public double METHOD_1 ( ) { double result ; double sum = 0 ; int num = 0 ; for ( double VAR_1 : VAR_2 ) { if ( VAR_1 != 0 ) { num ++ ; sum += VAR_1 ; } } result = sum / num ; return result ; }

public double METHOD_1 ( ) { double result ; double sum = 0 ; int num = 0 ; for ( double VAR_1 : VAR_2 ) { if ( VAR_1 != 0 ) { num ++ ; sum += VAR_1 ; } } if ( num == 0 ) { return 0 ; } result = sum / num ; return result ; }
