-
- Downloads
There was a problem fetching the pipeline summary.
consistency: make the argument name of _flip_modes() the same for all ops
Commit a141d2bf "resolve degenerate use of 'mode' in OperatorAdapter and LinearOperator" was pushed without ensuring consistency with other operator definitons and correct exception strings. This commit aims to resolve this. The argument variable of _flip_modes(…) is now always called 'trafo' and the Exception thrown for invalid values of it is ValueError("invalid operator transformation"). To aid readability, numerical constants were replaced with correspondingly named constants (ADJ, INV).
parent
d8c7cd5a
No related branches found
No related tags found
Pipeline #
Showing
- nifty4/operators/chain_operator.py 10 additions, 7 deletionsnifty4/operators/chain_operator.py
- nifty4/operators/diagonal_operator.py 10 additions, 7 deletionsnifty4/operators/diagonal_operator.py
- nifty4/operators/linear_operator.py 2 additions, 3 deletionsnifty4/operators/linear_operator.py
- nifty4/operators/operator_adapter.py 5 additions, 4 deletionsnifty4/operators/operator_adapter.py
- nifty4/operators/scaling_operator.py 10 additions, 7 deletionsnifty4/operators/scaling_operator.py
Loading
Please register or sign in to comment