fix typo in fdfd.vec()

fdtd_extras
Jan Petykiewicz 5 years ago
parent 223b202d03
commit 30ddeb7b73

@ -45,5 +45,5 @@ def unvec(v: vfield_t, shape: numpy.ndarray) -> field_t:
"""
if numpy.any(numpy.equal(v, None)):
return None
return vi.reshape((3, *shape), order='C')
return v.reshape((3, *shape), order='C')

Loading…
Cancel
Save