Add missing return
This commit is contained in:
parent
f2d061c921
commit
56a1349959
@ -425,6 +425,8 @@ def compute_source_wg(E: field_t,
|
|||||||
omega=omega, dxes=dxes, axis=axis,
|
omega=omega, dxes=dxes, axis=axis,
|
||||||
polarity=polarity, slices=slices4,
|
polarity=polarity, slices=slices4,
|
||||||
epsilon=epsilon, mu=mu)
|
epsilon=epsilon, mu=mu)
|
||||||
|
return J
|
||||||
|
|
||||||
|
|
||||||
def compute_overlap_ce(E: field_t,
|
def compute_overlap_ce(E: field_t,
|
||||||
wavenumber: complex,
|
wavenumber: complex,
|
||||||
|
Loading…
Reference in New Issue
Block a user