Commit 4f78502b authored by Sean Leavey's avatar Sean Leavey
Browse files

Fixing minor bugs with constructors for cavity and tf commands

parent ac924ed9
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment