diff --git a/interp/tools.py b/interp/tools.py index d3a3efd..d167bd5 100644 --- a/interp/tools.py +++ b/interp/tools.py @@ -32,15 +32,6 @@ def get_logger(filename, level = logging.DEBUG, logger_name = 'pymoab', size = 2 log = get_logger(filename = '/tmp/interp.log') -class smberror(Exception): - """ - this is a silly little exception subclass - """ - def __init__(self, val): - self.value = val - def __str__(self): - return repr(self.value) - def rms(errors): """ root mean square calculation @@ -56,7 +47,7 @@ def exact_func(X): the exact function used from baker's article (for testing) """ x = X[0] - y = X[0] + y = X[1] return np.power((np.sin(x * np.pi) * np.cos(y * np.pi)), 2) def exact_func_3D(X):