From 0b983f11e3b11c83a2e828f834827af9bf35fa55 Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Sun, 4 Jun 2017 03:33:08 +0200 Subject: [PATCH] pep8 --- wafo/interpolate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wafo/interpolate.py b/wafo/interpolate.py index 5110ba8..7a65f03 100644 --- a/wafo/interpolate.py +++ b/wafo/interpolate.py @@ -572,7 +572,6 @@ class SmoothSpline(PPform): dx = np.diff(x) return x, y, dx - def _init_poly_coefs(self, dx, dydx, n, p, D): dx1 = 1. / dx R = self._compute_r(dx, n) @@ -587,7 +586,7 @@ class SmoothSpline(PPform): def _poly_coefs(self, y, dx, dydx, n, nd, p, D): p, u, dx1 = self._init_poly_coefs(dx, dydx, n, p, D) - + zrs = zeros(nd) if p < 1: # faster than yi-6*(1-p)*Q*u