From 2b0d27750da84f79ae670a51a1cbc545a297dec7 Mon Sep 17 00:00:00 2001 From: Andreas Freise <adf@star.bham.ac.uk> Date: Thu, 5 Dec 2013 08:36:46 +0000 Subject: [PATCH] some more SIfloats. --- pykat/components.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykat/components.py b/pykat/components.py index 968a5e8..e9388a9 100644 --- a/pykat/components.py +++ b/pykat/components.py @@ -209,11 +209,11 @@ class space(Component): @property def L(self): return Param('L', self.__L) @L.setter - def L(self,value): self.__L = float(value) + def L(self,value): self.__L = SIfloat(value) @property def n(self): return Param('n', self.__n) @n.setter - def n(self,value): self.__n = float(value) + def n(self,value): self.__n = SIfloat(value) @staticmethod def parseFinesseText(text): -- GitLab