Skip to content
Snippets Groups Projects
Commit 54f02e09 authored by Reimar H Leike's avatar Reimar H Leike
Browse files

now using chain instead of +

parent 9c5b2e99
No related branches found
No related tags found
3 merge requests!107Master,!102Test power space,!101Test power space
Pipeline #
...@@ -27,13 +27,13 @@ from numpy.testing import assert_, assert_equal, assert_almost_equal,\ ...@@ -27,13 +27,13 @@ from numpy.testing import assert_, assert_equal, assert_almost_equal,\
from nifty import PowerSpace, RGSpace, Space, LMSpace from nifty import PowerSpace, RGSpace, Space, LMSpace
from types import NoneType from types import NoneType
from test.common import expand 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), 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)] 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 #Try all sensible kinds of combinations of spaces, distributuion strategy and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment