Commit 450cb7c0 authored by Reimar H Leike's avatar Reimar H Leike
Browse files

hopefully fixed mpi-behavior of sugar test

parent 8721a1e0
......@@ -25,7 +25,7 @@ import nifty5 as ift
def test_get_signal_variance():
space = ift.RGSpace(3)
hspace = space.get_default_codomain()
spec1 = lambda x : 1.
spec1 = lambda x : np.ones_like(x)
assert_equal(ift.get_signal_variance(spec1, hspace), 3.)
space = ift.RGSpace(3, distances=1.)
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