Commit ebe81678 authored by Martin Reinecke's avatar Martin Reinecke

fix

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",
domain=self._domain,
dtype=self._diagonal.dtype)
res.val[()] *= np.sqrt(self._ldiag)
res.local_data[()] *= np.sqrt(self._ldiag)
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