Commit 1e71071a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

don't do any weighting, just remove the geometry

parent cf4f4e6f
......@@ -47,5 +47,5 @@ class GeometryRemover(LinearOperator):
def apply(self, x, mode):
self._check_input(x, mode)
if mode == self.TIMES:
return x.weight(1).cast_domain(self._target)
return x.cast_domain(self._domain).weight(1)
return x.cast_domain(self._target)
return x.cast_domain(self._domain)
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