Commit 4732746a authored by Martin Reinecke's avatar Martin Reinecke

fix

parent efa20a5f
......@@ -61,7 +61,7 @@ def _toArray_rw(fld):
def _toField(arr, template):
if isinstance(template, Field):
return Field.from_local_data(template.domain,
arr.reshape(dom.shape).copy())
arr.reshape(template.shape).copy())
ofs = 0
res = []
for v in template.values():
......
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