From 4f78502b204d8eccbe3223cd5da3d02dc5bdafc5 Mon Sep 17 00:00:00 2001 From: Sean Leavey <s.leavey.1@research.gla.ac.uk> Date: Thu, 14 Aug 2014 14:52:35 +0100 Subject: [PATCH] Fixing minor bugs with constructors for cavity and tf commands --- pykat/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pykat/commands.py b/pykat/commands.py index 877f640..e8ffe34 100644 --- a/pykat/commands.py +++ b/pykat/commands.py @@ -48,7 +48,7 @@ class Command(object): class cavity(Command): def __init__(self, name, c1, n1, c2, n2): - Command.__init__(self, axis_type) + Command.__init__(self, name) self.__c1 = c1 self.__c2 = c2 @@ -115,7 +115,7 @@ class tf(Command): fQ = namedtuple('fQ', ['f', 'Q']) def __init__(self, name, poles, zeros): - Command.__init__(self, axis_type) + Command.__init__(self, name) pass class xaxis(Command): -- GitLab