From ef853e005265fa69777e8829e448eb456b90d85f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Fri, 17 Apr 2015 10:55:55 -0500 Subject: [PATCH] Fix curve-pot example matrix generation --- examples/curve-pot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/curve-pot.py b/examples/curve-pot.py index 0ffb1173..15d14552 100644 --- a/examples/curve-pot.py +++ b/examples/curve-pot.py @@ -148,8 +148,9 @@ def draw_pot_figure(aspect_ratio, def apply_lpot(x): xovsmp = np.dot(fim, x) - evt, (y,) = lpot(queue, native_curve.pos, ovsmp_curve.pos, centers, - [xovsmp], ovsmp_curve.speed, ovsmp_weights, + evt, (y,) = lpot(queue, native_curve.pos, ovsmp_curve.pos, + centers, + [xovsmp * ovsmp_curve.speed * ovsmp_weights], **lpot_kwargs) return y -- GitLab