Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
QimingFlex committed Aug 19, 2024
1 parent 92c848c commit ef1c71a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tidy3d/components/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ def intersecting_media(
exclude_surfaces = {0: ["x-", "x+"], 1: ["y-", "y+"], 2: ["z-", "z+"]}.get(
zero_dim_ind, []
)
surfaces = test_object.surfaces_with_exclusion(exclude_surfaces=exclude_surfaces)
surfaces = test_object.surfaces_with_exclusion(
size=test_object.size, center=test_object.center, exclude_surfaces=exclude_surfaces
)

mediums = set()
for surface in surfaces:
Expand Down

0 comments on commit ef1c71a

Please sign in to comment.