From 73795ff7889b62dce1a3d625c8ea892fb8fd7c0c Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 6 Apr 2016 02:26:20 +0800 Subject: [PATCH] test_rtio: integer division --- artiq/test/coredevice/test_rtio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/test/coredevice/test_rtio.py b/artiq/test/coredevice/test_rtio.py index ef3eab719..d0a578579 100644 --- a/artiq/test/coredevice/test_rtio.py +++ b/artiq/test/coredevice/test_rtio.py @@ -131,7 +131,7 @@ class PulseRateDDS(EnvExperiment): self.core.break_realtime() break else: - self.set_dataset("pulse_rate", mu_to_seconds(dt/2)) + self.set_dataset("pulse_rate", mu_to_seconds(dt//2)) return