fix typo in fdfd.vec()
This commit is contained in:
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…
Reference in New Issue
Block a user