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

Merge remote-tracking branch 'origin/NIFTy_5' into PowerGrid

parents 437c3994 a1191b51
Pipeline #50983 passed with stages
in 8 minutes and 8 seconds
...@@ -105,7 +105,7 @@ class DiagonalOperator(EndomorphicOperator): ...@@ -105,7 +105,7 @@ class DiagonalOperator(EndomorphicOperator):
res._spaces = None res._spaces = None
else: else:
res._spaces = tuple(set(self._spaces) | set(spc)) res._spaces = tuple(set(self._spaces) | set(spc))
res._ldiag = ldiag res._ldiag = np.array(ldiag)
res._fill_rest() res._fill_rest()
return res return res
......
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