Skip to content
Snippets Groups Projects
  • Lukas Platz's avatar
    bd3d61bc
    fix OperatorAdapter.__repr__ index out of range · bd3d61bc
    Lukas Platz authored
    self._trafo \elem {1,2,3}. Therefore, either list needs to have
    four items or should be accessed via [self._trafo - 1].
    This way seem more readable to me.
    
    Bug can be triggered by creating a FFTOperator `op` and calling
    `print(op.inverse.adjoint)`.
    bd3d61bc
    History
    fix OperatorAdapter.__repr__ index out of range
    Lukas Platz authored
    self._trafo \elem {1,2,3}. Therefore, either list needs to have
    four items or should be accessed via [self._trafo - 1].
    This way seem more readable to me.
    
    Bug can be triggered by creating a FFTOperator `op` and calling
    `print(op.inverse.adjoint)`.