From 3947d7d7e2cecd4c7b903d5f8645a6f347ef7786 Mon Sep 17 00:00:00 2001 From: Tyler Hughes Date: Wed, 13 Nov 2024 10:05:55 -0500 Subject: [PATCH] fix --- tests/test_components/test_autograd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_components/test_autograd.py b/tests/test_components/test_autograd.py index 8657fed84..0cb7c9b0f 100644 --- a/tests/test_components/test_autograd.py +++ b/tests/test_components/test_autograd.py @@ -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