Skip to content
Snippets Groups Projects
Commit 4f78502b authored by Sean Leavey's avatar Sean Leavey
Browse files

Fixing minor bugs with constructors for cavity and tf commands

parent ac924ed9
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ class Command(object): ...@@ -48,7 +48,7 @@ class Command(object):
class cavity(Command): class cavity(Command):
def __init__(self, name, c1, n1, c2, n2): def __init__(self, name, c1, n1, c2, n2):
Command.__init__(self, axis_type) Command.__init__(self, name)
self.__c1 = c1 self.__c1 = c1
self.__c2 = c2 self.__c2 = c2
...@@ -115,7 +115,7 @@ class tf(Command): ...@@ -115,7 +115,7 @@ class tf(Command):
fQ = namedtuple('fQ', ['f', 'Q']) fQ = namedtuple('fQ', ['f', 'Q'])
def __init__(self, name, poles, zeros): def __init__(self, name, poles, zeros):
Command.__init__(self, axis_type) Command.__init__(self, name)
pass pass
class xaxis(Command): class xaxis(Command):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment