formatting fixes

This commit is contained in:
Jan Petykiewicz 2019-10-27 16:12:48 -07:00
commit 061dbf59d1
4 changed files with 7 additions and 11 deletions

View file

@ -219,4 +219,3 @@ def poynting_e_cross_h(dxes: dx_lists_t):
s[2] = numpy.roll(ex, -1, axis=2) * hy - numpy.roll(ey, -1, axis=2) * hx
return s
return exh

View file

@ -32,10 +32,10 @@ __author__ = 'Jan Petykiewicz'
def operator_e(omega: complex,
dxes: dx_lists_t,
epsilon: vfield_t,
mu: vfield_t = None,
) -> sparse.spmatrix:
dxes: dx_lists_t,
epsilon: vfield_t,
mu: vfield_t = None,
) -> sparse.spmatrix:
if numpy.any(numpy.equal(mu, None)):
mu = numpy.ones_like(epsilon)