From bedec489aad2049961f693e55341f800c4cca3d2 Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 5 Sep 2019 22:41:34 +0200 Subject: [PATCH] Don't pre-conjugate e_overlap --- meanas/fdfd/waveguide_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meanas/fdfd/waveguide_mode.py b/meanas/fdfd/waveguide_mode.py index 6bdbc73..e94429f 100644 --- a/meanas/fdfd/waveguide_mode.py +++ b/meanas/fdfd/waveguide_mode.py @@ -220,7 +220,7 @@ def compute_overlap_e(E: field_t, Etgt[slices2] = Ee[slices2] Etgt /= (Etgt.conj() * Etgt).sum() - return Etgt.conj() + return Etgt def solve_waveguide_mode_cylindrical(mode_number: int,