From bd593121d9773c1b8a8ef687b417bfd8920f9df1 Mon Sep 17 00:00:00 2001 From: Alec Hammond Date: Thu, 22 Sep 2022 11:24:50 -0700 Subject: [PATCH] fix other typos --- python/adjoint/optimization_problem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/adjoint/optimization_problem.py b/python/adjoint/optimization_problem.py index fb3c4c834..42f20b0aa 100644 --- a/python/adjoint/optimization_problem.py +++ b/python/adjoint/optimization_problem.py @@ -28,7 +28,7 @@ def __init__( simulation: mp.Simulation, objective_functions: List[Callable], objective_arguments: List[ObjectiveQuantity], - design_regions: [DesignRegion], + design_regions: List[DesignRegion], frequencies: Optional[Union[float, List[float]]] = None, fcen: Optional[float] = None, df: Optional[float] = None, @@ -42,7 +42,7 @@ def __init__( ): """ + **`simulation` [ `Simulation` ]** — The corresponding Meep - `Simulation` object that describeds the problem (e.g. sources, + `Simulation` object that describes the problem (e.g. sources, geometry) + **`objective_functions` [ `list of ` ]** —