Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerflex authored and shashwat-sh committed Mar 15, 2023
1 parent d4c94bc commit db445bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tidy3d/components/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,8 +1173,8 @@ def eps_bounds(self, freq: float = None) -> Tuple[float, float]:
for medium in medium_list
if not isinstance(medium, CustomMedium)
]
eps_min = min(1, eps_list)
eps_max = max(1, eps_list)
eps_min = min(1, min(eps_list))
eps_max = max(1, max(eps_list))
# custom medium, the min and max in the supplied dataset over all components and
# spatial locations.
for mat in [medium for medium in medium_list if isinstance(medium, CustomMedium)]:
Expand Down

0 comments on commit db445bc

Please sign in to comment.