Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerflex committed Nov 13, 2024
1 parent c1854a6 commit 3947d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_components/test_autograd.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def make_structures(params: anp.ndarray) -> dict[str, td.Structure]:
size_element = td.Structure(
geometry=td.Box(center=(0, 0, 0), size=(1, size_y, 1)),
medium=med,
background_medium=5.0,
background_medium=td.Medium(permittivity=5.0),
)

# custom medium with variable permittivity data
Expand Down

0 comments on commit 3947d7d

Please sign in to comment.