Commit 0463763b authored by Philipp Frank's avatar Philipp Frank
Browse files

fixup

parent d79ada59
Pipeline #64203 passed with stages
in 9 minutes and 29 seconds
......@@ -328,7 +328,7 @@ class _Amplitude(Operator):
fluctuations)
else:
op = (Adder(vol0)) @ (sig_fluc*(azm_expander @ azm.one_over())*op)
self._fluct = fluctuations
self._fluc = fluctuations
self.apply = op.apply
......@@ -363,7 +363,8 @@ class CorrelatedFieldMaker:
offset_amplitude_stddev,
prefix + 'zeromode',
N)
zm = _Distributor(dofdex,zm.target,UnstructuredDomain(total_N)) @ zm
if total_N > 0:
zm = _Distributor(dofdex,zm.target,UnstructuredDomain(total_N)) @ zm
return CorrelatedFieldMaker(zm, prefix, total_N)
def add_fluctuations(self,
......
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