diff --git a/examples/curve-pot.py b/examples/curve-pot.py index 0ffb1173baab1b70f7369228e1cbc4cf99c9dcc3..15d14552289c626ebc3ecb694de6790551d4e0af 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