Commit cf898423 authored by Hejing Li's avatar Hejing Li
Browse files

system/base.py: fix component class initialization

parent c6913bb5
......@@ -45,7 +45,7 @@ class Component(IdObj):
def __init__(self, s: System) -> None:
super().__init__()
s.system = s
self.system = s
s.parameters = {}
s.add_component(self)
self.name: str = ""
......
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