forked from M-Labs/artiq
1
0
Fork 0

examples/remote_exec_controller: fix compute_picture argument swap

This commit is contained in:
Sebastien Bourdeauducq 2016-04-02 22:44:52 +08:00
parent 1a288e07cc
commit e7925fccd2
1 changed files with 2 additions and 2 deletions

View File

@ -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)