From e7925fccd2d575cddcc26806985a1bf25eec1801 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 2 Apr 2016 22:44:52 +0800 Subject: [PATCH] examples/remote_exec_controller: fix compute_picture argument swap --- examples/remote_exec_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/remote_exec_controller.py b/examples/remote_exec_controller.py index 70f859d68..d8f082fbf 100755 --- a/examples/remote_exec_controller.py +++ b/examples/remote_exec_controller.py @@ -7,7 +7,7 @@ from artiq.protocols.remote_exec import simple_rexec_server_loop @jit(nopython=True) -def compute_picture(r, img_h, img_w, +def compute_picture(r, img_w, img_h, gaussian_w, gaussian_h, gaussian_cx, gaussian_cy, noise_level): @@ -43,7 +43,7 @@ class CameraSimulation: def get_picture(self): r = np.empty((self.img_w, self.img_h)) - compute_picture(r, self.img_h, self.img_w, + compute_picture(r, self.img_w, self.img_h, self.gaussian_w, self.gaussian_h, self.gaussian_cx, self.gaussian_cy, self.noise_level)