Commit 2a46181b authored by Theo Steininger's avatar Theo Steininger
Browse files

Bugfix in Field.copy_empty -> dtype is now correct.

parent e2d48e17
......@@ -802,7 +802,7 @@ class Field(Loggable, Versionable, object):
if inplace:
working_field = self
working_field = self.copy_empty()
working_field = self.copy_empty(dtype=return_val.dtype)
working_field.set_val(return_val, copy=False)
return working_field
Markdown is supported
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