From 64fed7f72eada4043baba532cb172a8d3e7bd2f8 Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Tue, 20 Dec 2016 21:48:40 +0100 Subject: [PATCH] Removed obsolete variable --- wafo/kdetools/kernels.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wafo/kdetools/kernels.py b/wafo/kdetools/kernels.py index a25d650..3999cd5 100644 --- a/wafo/kdetools/kernels.py +++ b/wafo/kdetools/kernels.py @@ -1105,8 +1105,6 @@ class Kernel(object): steps = len(hvec) score = np.zeros(steps) - nfft = inc * 2 - ax1, bx1 = self._get_grid_limits(A) kernel2 = Kernel('gauss') @@ -1152,9 +1150,9 @@ class Kernel(object): psi4 = _estimate_psi(c, xn, g3, n, numout=1) psi8 = _estimate_psi(c, xn, g4, n, numout=3) - const = (441. / (64 * pi)) ** (1. / 18.) * \ - (4 * pi) ** (-1. / 5.) * \ - psi4 ** (-2. / 5.) * psi8 ** (-1. / 9.) + const = ((441. / (64 * pi)) ** (1. / 18.) * + (4 * pi) ** (-1. / 5.) * + psi4 ** (-2. / 5.) * psi8 ** (-1. / 9.)) M = np.atleast_2d(datan)