From 721d688b55aa2bfd5af5ef33f4816cb9e31bfcac Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Tue, 22 Nov 2016 08:31:23 +0100 Subject: [PATCH] Removed unreachable code --- wafo/polynomial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafo/polynomial.py b/wafo/polynomial.py index c545af3..1280a52 100644 --- a/wafo/polynomial.py +++ b/wafo/polynomial.py @@ -1674,7 +1674,7 @@ class Cheb1d(object): def __getattr__(self, key): name = dict(c='coeffs', coef='coeffs', coefficients='coeffs', o='order', k='kind').get(key, key) - return getattr(self, name) + # return getattr(self, name) return self.__dict__[name] def __getitem__(self, val):