From d004b133cdead10f3b0653e453beb734ca56ec49 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Tue, 27 May 2014 18:46:34 -0400 Subject: [PATCH] Removed unnecessary file allocation from functions.interpolateArray --- pyqtgraph/functions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyqtgraph/functions.py b/pyqtgraph/functions.py index 2325186c..77643c99 100644 --- a/pyqtgraph/functions.py +++ b/pyqtgraph/functions.py @@ -538,7 +538,6 @@ def interpolateArray(data, x, default=0.0): prof = debug.Profiler() - result = np.empty(x.shape[:-1] + data.shape, dtype=data.dtype) nd = data.ndim md = x.shape[-1]