Commit 61147542 authored by Martin Reinecke's avatar Martin Reinecke


parent 9989d476
Pipeline #43307 passed with stages
in 8 minutes and 1 second
...@@ -363,7 +363,7 @@ def makeOp(input): ...@@ -363,7 +363,7 @@ def makeOp(input):
return DiagonalOperator(input) return DiagonalOperator(input)
if isinstance(input, MultiField): if isinstance(input, MultiField):
return BlockDiagonalOperator( return BlockDiagonalOperator(
input.domain, {key: makeOp(val) for key, val in enumerate(input)}) input.domain, {key: makeOp(val) for key, val in input.items()})
raise NotImplementedError raise NotImplementedError
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment