• Gordian Edenhofer's avatar
    Swap order of arguments of ScalingOperator · f75a49a8
    Gordian Edenhofer authored
    Make the ScalingOperator consistent with `from_global_data`, `full` and
    possibly other operators which take the domain as first argument. This
    breaks the currently enforced consistency with the `DiagonalOperator`
    which takes a field as first argument and the domain only as an optional
    keyword argument.
    
    Fixes #279.
    f75a49a8
chain_operator.py 5.7 KB