Commit a6fb603f authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed wording in Field.imag

parent ba9ee1ec
......@@ -853,9 +853,9 @@ class Field(Loggable, Versionable, object):
def imag(self):
""" The imaginary part of the field (data is not copied).
real_part = self.val.imag
result = self.copy_empty(dtype=real_part.dtype)
result.set_val(new_val=real_part, copy=False)
imag_part = self.val.imag
result = self.copy_empty(dtype=imag_part.dtype)
result.set_val(new_val=imag_part, copy=False)
return result
# ---Special unary/binary operations---
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment