code: def _step6(state):
      """
      Add the value found in Step 4 to every element of each covered row,
      and subtract it from every element of each uncovered column.
      Return to Step 4 without altering any stars, primes, or covered lines.
      """
      # the smallest uncovered value in the matrix
      if np.any(state.row_uncovered) and np.any(state.col_uncovered):
          minval = np.min(state.C[state.row_uncovered], axis=0)
          minval = np.min(minval[state.col_uncovered])
          state.C[~state.row_uncovered] += minval
          state.C[:, state.col_uncovered] -= minval
      return _step4
  
file_path: catboost/contrib/python/scipy/py2/scipy/optimize/_hungarian.py
imports: import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: _step6(state) and returns: _step4