Commit b49ed2f5 authored by Philipp Arras's avatar Philipp Arras
Browse files


parent a8f5fcd1
......@@ -180,7 +180,7 @@ class Operator(metaclass=NiftyMeta):
def force(self, x):
"""Extract subset of domain of x according to `self.domain` and apply
return self.apply(x.extract(self.domain))
return self.apply(x.extract(self.domain), 0)
def _check_input(self, x):
if not isinstance(x, (Field, MultiField)):
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