From f34487982e58ad80576c67b0bdcd99778e3c5573 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=89ric=20Piel?= Date: Thu, 18 Oct 2012 10:32:48 +0200 Subject: [PATCH] fix compilation with cython 0.15.1 Need to help cython to find out that a new CalibrationSetting is a CalibrationSetting, otherwise it thinks that its properties are python objects. --- pycomedi/calibration.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycomedi/calibration.pyx b/pycomedi/calibration.pyx index f68eb96..248745b 100644 --- a/pycomedi/calibration.pyx +++ b/pycomedi/calibration.pyx @@ -673,7 +673,7 @@ cdef class Calibration (object): return None ret = [] for i in range(self.calibration.num_settings): - s = CalibrationSetting( + s = CalibrationSetting( subdevice=self.device.subdevice( index=self.calibration.settings[i].subdevice)) s.setting = &self.calibration.settings[i] -- 2.26.2