diff --git a/wafo/integrate_oscillating.py b/wafo/integrate_oscillating.py index dc36db6..97f6a0e 100644 --- a/wafo/integrate_oscillating.py +++ b/wafo/integrate_oscillating.py @@ -32,7 +32,8 @@ class PolyBasis(object): def eval(t, c): return polynomial.polyval(t, c) - def _coefficients(self, k): + @staticmethod + def _coefficients(k): c = np.zeros(k + 1) c[k] = 1 return c