From 2086e465981f1ce3ddf43eac39c8acdc3d4c12c6 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 7241e9043..e5d225784 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