Skip to content

Commit 44fc825

Browse files
revision
1 parent f06eecc commit 44fc825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tidy3d/components/scene.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def background_structure(self) -> Structure:
277277
@cached_property
278278
def all_structures(self) -> List[Structure]:
279279
"""List of all structures in the simulation including the background."""
280-
return [self.background_structure] + list(self.sorted_structures)
280+
return [self.background_structure] + self.sorted_structures
281281

282282
@staticmethod
283283
def intersecting_media(
@@ -1812,7 +1812,7 @@ def doping_bounds(self):
18121812
acceptors_lims = [1e50, -1e50]
18131813
donors_lims = [1e50, -1e50]
18141814

1815-
for struct in [self.background_structure] + list(self.sorted_structures):
1815+
for struct in self.all_structures:
18161816
if isinstance(struct.medium.charge, SemiconductorMedium):
18171817
electric_spec = struct.medium.charge
18181818
for doping, limits in zip(

0 commit comments

Comments
 (0)