#NEWLINE# def check_tolerance( ftol , xtol , gtol ) : #NEWLINE# #INDENT# message = '{} is too low, setting to machine epsilon {}.' #NEWLINE# if ( gtol < EPS ) : #NEWLINE# #INDENT# warn ( message . format ( '`ftol`' , EPS ) ) #NEWLINE# ftol = EPS #NEWLINE# #UNINDENT# if ( xtol < EPS ) : #NEWLINE# #INDENT# warn ( message . format ( '`xtol`' , EPS ) ) #NEWLINE# xtol = EPS #NEWLINE# #UNINDENT# if ( gtol < EPS ) : #NEWLINE# #INDENT# warn ( message . format ( '`gtol`' , EPS ) ) #NEWLINE# gtol = EPS #NEWLINE# #UNINDENT# return ( ftol , xtol , gtol )