Commit 7467d04d authored by Martin Reinecke's avatar Martin Reinecke

cosmetics

parent d3b70136
Pipeline #23391 passed with stage
in 4 minutes and 32 seconds
......@@ -90,9 +90,7 @@ class DOFProjectionOperator(LinearOperator):
def apply(self, x, mode):
self._check_input(x, mode)
if mode == self.TIMES:
return self._times(x)
return self._adjoint_times(x)
return self._times(x) if mode == self.TIMES else self._adjoint_times(x)
@property
def domain(self):
......
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