Commit 61147542 authored by Martin Reinecke's avatar Martin Reinecke

fix

parent 9989d476
Pipeline #43307 passed with stages
in 8 minutes and 1 second
......@@ -363,7 +363,7 @@ def makeOp(input):
return DiagonalOperator(input)
if isinstance(input, MultiField):
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
......
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