Commit 7c749218 authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 7f4ca255
Pipeline #23426 passed with stage
in 4 minutes and 33 seconds
...@@ -45,9 +45,9 @@ class SumOperator(LinearOperator): ...@@ -45,9 +45,9 @@ class SumOperator(LinearOperator):
if isinstance(op, SumOperator): if isinstance(op, SumOperator):
opsnew += op._ops opsnew += op._ops
if ng: if ng:
negtmp += [not n for n in ng] negnew += [not n for n in ops._neg]
else: else:
negtmp += list(ng) negnew += list(ops._neg)
else: else:
opsnew.append(op) opsnew.append(op)
negnew.append(ng) negnew.append(ng)
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