def _find_integer_tolerance(epsilon, v_max, min_tol):
int_tol = min(epsilon / (<NUM_LIT:10> * v_max), <NUM_LIT:0.1>)<EOL>min_tol = max(<NUM_LIT>, min_tol)<EOL>if int_tol < min_tol:<EOL><INDENT>eps_lower = min_tol * <NUM_LIT:10> * v_max<EOL>logger.warning(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(v_max, eps_lower))<EOL>return min_tol<EOL><DEDENT>return int_tol<EOL>
Find appropriate integer tolerance for gap-filling problems.