File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/power_grid_model_ds/_core/model/grids Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ def add_branch(self, branch: BranchArray) -> None:
211211 branch (BranchArray): The branch to add
212212 """
213213 self ._append (array = branch )
214- self .graphs .add_branch ( branch = branch )
214+ self .graphs .add_branch_array ( branch_array = branch )
215215
216216 logging .debug (f"added branch { branch .id } from { branch .from_node } to { branch .to_node } " )
217217
@@ -243,7 +243,7 @@ def add_node(self, node: NodeArray) -> None:
243243 node (NodeArray): The node to add
244244 """
245245 self ._append (array = node )
246- self .graphs .add_node ( node = node )
246+ self .graphs .add_node_array ( node_array = node )
247247 logging .debug (f"added rail { node .id } " )
248248
249249 def delete_node (self , node : NodeArray ) -> None :
You can’t perform that action at this time.
0 commit comments