From 931dfd280b6b5796490dae19fcffeb94eec59304 Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Mon, 5 Sep 2016 08:12:49 +0200 Subject: [PATCH] Removed unused variables --- wafo/integrate_oscillating.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wafo/integrate_oscillating.py b/wafo/integrate_oscillating.py index 4860c9d..bbcd942 100644 --- a/wafo/integrate_oscillating.py +++ b/wafo/integrate_oscillating.py @@ -235,10 +235,10 @@ class QuadOsc(_Integrator): def _extrapolate(self, k, q0, q1, q2): if k >= 4: - q1[k], _err1 = dea3(q0[k - 2], q0[k - 1], q0[k]) - q2[k], _err2 = dea3(q1[k - 2], q1[k - 1], q1[k]) + q1[k] = dea3(q0[k - 2], q0[k - 1], q0[k])[0] + q2[k] = dea3(q1[k - 2], q1[k - 1], q1[k])[0] elif k >= 2: - q1[k], _err1 = dea3(q0[k - 2], q0[k - 1], q0[k]) + q1[k] = dea3(q0[k - 2], q0[k - 1], q0[k])[0] # # Richardson extrapolation # if k >= 4: # q1[k] = richardson(q0, k)