Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
450cb7c0
Commit
450cb7c0
authored
Jan 23, 2019
by
Reimar H Leike
Browse files
hopefully fixed mpi-behavior of sugar test
parent
8721a1e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_sugar.py
View file @
450cb7c0
...
...
@@ -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.
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment