Commit edcc3b75 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

tweak SumOperator; fix a few other problems

parent 1f5a367c
Pipeline #23411 passed with stage
in 4 minutes and 34 seconds
...@@ -77,7 +77,7 @@ class SumOperator(LinearOperator): ...@@ -77,7 +77,7 @@ class SumOperator(LinearOperator):
if sum != 0: if sum != 0:
# have to add the scaling operator at the end # have to add the scaling operator at the end
opsnew.append(ScalingOperator(sum, lastdom)) opsnew.append(ScalingOperator(sum, lastdom))
newnew.append(False) negnew.append(False)
ops = opsnew ops = opsnew
neg = negnew neg = negnew
# Step 4: combine DiagonalOperators where possible # Step 4: combine DiagonalOperators where possible
......
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