Commit 35742979 authored by Philipp Frank's avatar Philipp Frank

fixup

parent 9dfa053b
Pipeline #63597 passed with stages
in 6 minutes and 30 seconds
......@@ -9,7 +9,7 @@ def testAmplitudesConsistency(seed, sspace):
intergated_fluct_std0 = .003
intergated_fluct_std1 = 0.1
nsam = 1000
nsam = 100
hspace = sspace.get_default_codomain()
target0 = ift.PowerSpace(hspace)
......@@ -97,7 +97,7 @@ def testAmplitudesConsistency(seed, sspace):
for seed in [1, 42]:
for sp in [
ift.RGSpace((32, 64), (1.1, 0.3)),
ift.HPSpace(64),
ift.GLSpace(64)
ift.HPSpace(32),
ift.GLSpace(32)
]:
testAmplitudesConsistency(seed, sp)
......@@ -215,7 +215,7 @@ class _Amplitude(Operator):
vslope = from_global_data(target, _relative_log_k_lengths(target))
foo, bar = 2*(np.zeros(target.shape),)
foo, bar = [np.zeros(target.shape) for _ in range(2)]
bar[1:] = foo[0] = totvol
vol0, vol1 = [from_global_data(target, aa) for aa in (foo, bar)]
# End prepare constant fields
......
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