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
02ccb2ab
Commit
02ccb2ab
authored
Nov 13, 2017
by
Martin Reinecke
Browse files
cosmetics
parent
06aa3cfc
Pipeline
#21492
passed with stage
in 4 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/common.py
View file @
02ccb2ab
...
...
@@ -18,7 +18,7 @@
from
builtins
import
str
from
parameterized
import
parameterized
from
nifty2go
import
RGSpace
,
LMSpace
,
HPSpace
,
GLSpace
,
PowerSpace
import
nifty2go
as
ift
import
numpy
as
np
np
.
seterr
(
all
=
'raise'
,
under
=
'ignore'
)
...
...
@@ -37,11 +37,12 @@ def expand(*args, **kwargs):
def
generate_spaces
():
spaces
=
[
RGSpace
(
4
),
PowerSpace
(
RGSpace
((
4
,
4
),
harmonic
=
True
)),
LMSpace
(
5
),
HPSpace
(
4
),
GLSpace
(
4
)]
spaces
=
[
ift
.
RGSpace
(
4
),
ift
.
PowerSpace
(
ift
.
RGSpace
((
4
,
4
),
harmonic
=
True
)),
ift
.
LMSpace
(
5
),
ift
.
HPSpace
(
4
),
ift
.
GLSpace
(
4
)]
return
spaces
def
generate_harmonic_spaces
():
spaces
=
[
RGSpace
(
4
,
harmonic
=
True
),
LMSpace
(
5
)]
spaces
=
[
ift
.
RGSpace
(
4
,
harmonic
=
True
),
ift
.
LMSpace
(
5
)]
return
spaces
Write
Preview
Supports
Markdown
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