From 5b84319c25d9feb04cd397f1b676a2546a9fb193 Mon Sep 17 00:00:00 2001 From: probvar Date: Thu, 18 Jul 2024 14:55:23 -0700 Subject: [PATCH 1/2] int32 -> int64 for doing many reps for readout. prevents overflow --- qick_lib/qick/qick_asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qick_lib/qick/qick_asm.py b/qick_lib/qick/qick_asm.py index ce577906..0d0c7f91 100644 --- a/qick_lib/qick/qick_asm.py +++ b/qick_lib/qick/qick_asm.py @@ -1674,7 +1674,7 @@ def acquire(self, soc, soft_avgs=1, load_pulses=True, start_src="internal", thre n_ro = len(self.ro_chs) total_count = functools.reduce(operator.mul, self.loop_dims) - self.d_buf = [np.zeros((*self.loop_dims, nreads, 2), dtype=np.int32) for nreads in self.reads_per_shot] + self.d_buf = [np.zeros((*self.loop_dims, nreads, 2), dtype=np.int64) for nreads in self.reads_per_shot] self.stats = [] # select which tqdm progress bar to show From 3baf47d9e5f791e7649fc4d8054b608ec3d1fee1 Mon Sep 17 00:00:00 2001 From: "QICK actions [bot]" <129547417+qickbot@users.noreply.github.com> Date: Thu, 18 Jul 2024 21:58:53 +0000 Subject: [PATCH 2/2] update version --- qick_lib/qick/VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qick_lib/qick/VERSION b/qick_lib/qick/VERSION index 5df81204..87551767 100644 --- a/qick_lib/qick/VERSION +++ b/qick_lib/qick/VERSION @@ -1 +1 @@ -0.2.268 +0.2.271