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

Add documentation

parent 4b5c044b
......@@ -60,6 +60,7 @@ class Operator(NiftyMetaBase()):
raise NotImplementedError
def force(self, x):
"""Extract correct subset of domain of x and apply operator."""
return self.apply(x.extract(self.domain))
def _check_input(self, x):
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