Skip to content
Snippets Groups Projects
Commit edcc3b75 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

tweak SumOperator; fix a few other problems

parent 1f5a367c
Branches
No related tags found
1 merge request!207new operator convenience functionality
Pipeline #
......@@ -77,7 +77,7 @@ class SumOperator(LinearOperator):
if sum != 0:
# have to add the scaling operator at the end
opsnew.append(ScalingOperator(sum, lastdom))
newnew.append(False)
negnew.append(False)
ops = opsnew
neg = negnew
# Step 4: combine DiagonalOperators where possible
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment