From 01b49713884a2c619015cb53b0a7666e4a70f622 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 5 Sep 2021 17:50:51 -0700 Subject: [PATCH] Overlap is computed with the conjugate --- meanas/fdfd/waveguide_3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meanas/fdfd/waveguide_3d.py b/meanas/fdfd/waveguide_3d.py index 8f466de..4a65453 100644 --- a/meanas/fdfd/waveguide_3d.py +++ b/meanas/fdfd/waveguide_3d.py @@ -167,7 +167,7 @@ def compute_overlap_e(E: fdfield_t, mu: Magnetic permeability (default 1 everywhere) Returns: - overlap_e such that `numpy.sum(overlap_e * other_e)` computes the overlap integral + overlap_e such that `numpy.sum(overlap_e * other_e.conj())` computes the overlap integral """ slices = tuple(slices)