Commit 11364d6a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

PEP8

parent a141d2bf
Pipeline #27539 passed with stage
in 1 minute and 31 seconds
......@@ -98,7 +98,8 @@ class LinearOperator(NiftyMetaBase()):
def _flip_modes(self, op_transform):
from .operator_adapter import OperatorAdapter
return self if op_transform == 0 else OperatorAdapter(self, op_transform)
return self if op_transform == 0 \
else OperatorAdapter(self, op_transform)
@property
def inverse(self):
......
......@@ -47,7 +47,8 @@ class OperatorAdapter(LinearOperator):
return self._op if newmode == 0 else OperatorAdapter(self._op, newmode)
def apply(self, x, mode):
return self._op.apply(x, self._modeTable[self._trafo][self._ilog[mode]])
return self._op.apply(x,
self._modeTable[self._trafo][self._ilog[mode]])
def draw_sample(self, from_inverse=False, dtype=np.float64):
if self._trafo & self.INVERSE_BIT:
......
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