Commit f2c8b4f7 authored by Reimar H Leike's avatar Reimar H Leike
Browse files

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): ...@@ -150,7 +150,7 @@ class _SlowFieldAdapter(LinearOperator):
if isinstance(x, MultiField): if isinstance(x, MultiField):
return x[self._name] return x[self._name]
else: 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): def __repr__(self):
return '_SlowFieldAdapter' 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