From dce4f036db75e0f7380472bc1b0ec8bea977111b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 30 Nov 2018 18:41:14 +0800 Subject: [PATCH] grabber: work around windows numpy int peculiarity (same as a81c12de9) --- artiq/coredevice/grabber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/grabber.py b/artiq/coredevice/grabber.py index 7a00549db..6f29debe3 100644 --- a/artiq/coredevice/grabber.py +++ b/artiq/coredevice/grabber.py @@ -23,7 +23,7 @@ class Grabber: count_width = min(31, 2*res_width + 16 - count_shift) # This value is inserted by the gateware to mark the start of a series of # ROI engine outputs for one video frame. - self.sentinel = int32(2**count_width) + self.sentinel = int32(int64(2**count_width)) @kernel def setup_roi(self, n, x0, y0, x1, y1):