fix typo in fdfd.vec()

This commit is contained in:
Jan Petykiewicz 2019-07-21 22:05:40 -07:00
parent 223b202d03
commit 30ddeb7b73

View File

@ -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')