NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.19k stars 610 forks source link

Add type hints for `get_eigenmode_coefficients` and fix type hint in `Medium` #2560

Closed oskooi closed 1 year ago

oskooi commented 1 year ago

Adds missing type hints to the get_eigenmode_coefficients routine.

Also, fixes a bug in the type hints of two arguments for the Medium class constructor introduced in #2554.

A future PR will rebuild the markdown documentation to include these recent changes.