<s> import numpy as np <EOL> from functools import wraps <EOL> def silence_errors ( f ) : <EOL> """<STR_LIT>""" <EOL> @ wraps ( f ) <EOL> def wrapper ( * args , ** kwds ) : <EOL> status = np . seterr ( all = '<STR_LIT:ignore>' ) <EOL> result = f ( * args , ** kwds ) <EOL> np . seterr ( ** status ) <EOL> return result <EOL> return wrapper </s>
