Skip to content
GitLab
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
54f02e09
Commit
54f02e09
authored
May 11, 2017
by
Reimar H Leike
Browse files
now using chain instead of +
parent
9c5b2e99
Pipeline
#12318
failed with stage
in 5 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_spaces/test_power_space.py
View file @
54f02e09
...
...
@@ -27,13 +27,13 @@ from numpy.testing import assert_, assert_equal, assert_almost_equal,\
from
nifty
import
PowerSpace
,
RGSpace
,
Space
,
LMSpace
from
types
import
NoneType
from
test.common
import
expand
from
itertools
import
product
from
itertools
import
product
,
chain
HARMONIC_SPACES
=
[
RGSpace
((
8
,),
harmonic
=
True
),
RGSpace
((
7
,
8
),
harmonic
=
True
),
RGSpace
((
5
,
5
),
harmonic
=
True
),
RGSpace
((
4
,
5
,
7
),
harmonic
=
True
),
LMSpace
(
6
),
LMSpace
(
9
)]
BINNINGS
=
product
([
None
],
[
None
,
3
,
4
],
[
True
,
False
])
+
product
([
0.
,
1.3
],[
None
],[
False
])
BINNINGS
=
chain
(
product
([
None
],
[
None
,
3
,
4
],
[
True
,
False
])
,
product
([
0.
,
1.3
],[
None
],[
False
])
)
#Try all sensible kinds of combinations of spaces, distributuion strategy and
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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