#NEWLINE# @ jit . unroll_safe #NEWLINE# def reduce_field_values( field_values , constant_false ) : #NEWLINE# #INDENT# reduced_field_values = ( [ None ] * ( len ( field_values ) - len ( constant_false ) ) ) #NEWLINE# k = 0 #NEWLINE# for ( i , val ) in enumerate ( field_values ) : #NEWLINE# #INDENT# found = False #NEWLINE# for j in constant_false : #NEWLINE# #INDENT# if ( j == i ) : #NEWLINE# #INDENT# found = True #NEWLINE# #UNINDENT# #UNINDENT# if ( not found ) : #NEWLINE# #INDENT# reduced_field_values [ k ] = val #NEWLINE# k += 1 #NEWLINE# #UNINDENT# #UNINDENT# return reduced_field_values