#NEWLINE# def _step3( state ) : #NEWLINE# #INDENT# '\n    Cover each column containing a starred zero. If n columns are covered,\n    the starred zeros describe a complete set of unique assignments.\n    In this case, Go to DONE, otherwise, Go to Step 4.\n    ' #NEWLINE# marked = ( state . marked == 1 ) #NEWLINE# state . col_uncovered [ np . any ( marked , axis = 0 ) ] = False #NEWLINE# if ( marked . sum ( ) < state . C . shape [ 0 ] ) : #NEWLINE# #INDENT# return _step4