Commit 038c3f2d authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 6e6b4f76
...@@ -57,7 +57,7 @@ class RelaxedSumOperator(LinearOperator): ...@@ -57,7 +57,7 @@ class RelaxedSumOperator(LinearOperator):
return self._capability return self._capability
def apply(self, x, mode): def apply(self, x, mode):
self._check_mode(mode) self._check_input(x, mode)
res = None res = None
for op in self._ops: for op in self._ops:
tmp = op.apply(x.extract(op._dom(mode)), mode) tmp = op.apply(x.extract(op._dom(mode)), mode)
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