Commit 861827f7 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

try to fix DiagonalOperator

parent a439a47c
Pipeline #50452 passed with stages
in 7 minutes and 49 seconds
......@@ -105,7 +105,7 @@ class DiagonalOperator(EndomorphicOperator):
res._spaces = None
res._spaces = tuple(set(self._spaces) | set(spc))
res._ldiag = ldiag
res._ldiag = np.array(ldiag)
return res
Supports Markdown
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