We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f1b96 commit 6c7d062Copy full SHA for 6c7d062
1 file changed
simbench/converter/pp_net_manipulation.py
@@ -214,7 +214,7 @@ def convert_parallel_branches(
214
sw_to_append = net.switch.loc[
215
(net.switch.element == par)
216
& (net.switch.et == element[0])
217
- ] # does not work for trafo3w
+ ].copy() # does not work for trafo3w
218
sw_to_append["element"] = max_idx + 1 + i
219
sw_to_append.loc[:, "name"] = (
220
sw_to_append["name"] + "_" + str(num_par[i])
0 commit comments