Commit f2c8b4f7 authored by Reimar Heinrich Leike's avatar Reimar Heinrich Leike

arguments need to be reversed

parent eac89700
Pipeline #43344 passed with stages
in 8 minutes and 5 seconds
......@@ -150,7 +150,7 @@ class _SlowFieldAdapter(LinearOperator):
if isinstance(x, MultiField):
return x[self._name]
else:
return MultiField.from_dict(self._tgt(mode), {self._name: x})
return MultiField.from_dict({self._name: x}, domain=self._tgt(mode))
def __repr__(self):
return '_SlowFieldAdapter'
......
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