diff --git a/femwell/maxwell/waveguide.py b/femwell/maxwell/waveguide.py index 1fcf176b..89edc0b4 100644 --- a/femwell/maxwell/waveguide.py +++ b/femwell/maxwell/waveguide.py @@ -289,7 +289,7 @@ def bform(e_t, e_z, v_t, v_z, w): ) -def calculate_hfield(basis, xs, beta, omega=1): +def calculate_hfield(basis, xs, beta, omega): @BilinearForm(dtype=np.complex64) def aform(e_t, e_z, v_t, v_z, w): return (