Skip to content

Commit 78f89f0

Browse files
committed
fix regression
1 parent c50ccf2 commit 78f89f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tidy3d/components/microwave/path_spec_generator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Module for automatic determination of voltage and current integration specifications."""
22

3+
from itertools import chain
34
from math import isclose
45

56
import shapely
@@ -318,5 +319,5 @@ def _apply_symmetry(
318319
PathSpecGenerator._apply_symmetry_to_box(box, dim, sim_center[dim])
319320
for box in result
320321
]
321-
result = result.extend(tmp_list)
322+
result = list(chain.from_iterable(tmp_list))
322323
return result

0 commit comments

Comments
 (0)