Skip to content

Commit 6c7d062

Browse files
committed
fix warning
1 parent c1f1b96 commit 6c7d062

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simbench/converter/pp_net_manipulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def convert_parallel_branches(
214214
sw_to_append = net.switch.loc[
215215
(net.switch.element == par)
216216
& (net.switch.et == element[0])
217-
] # does not work for trafo3w
217+
].copy() # does not work for trafo3w
218218
sw_to_append["element"] = max_idx + 1 + i
219219
sw_to_append.loc[:, "name"] = (
220220
sw_to_append["name"] + "_" + str(num_par[i])

0 commit comments

Comments
 (0)