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


parent e953a066
Pipeline #25201 passed with stages
in 6 minutes and 12 seconds
......@@ -140,5 +140,5 @@ class DiagonalOperator(EndomorphicOperator):
res = Field.from_random(random_type="normal",
res.val[()] *= np.sqrt(self._ldiag)
res.local_data[()] *= np.sqrt(self._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