Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
fc56de29
Commit
fc56de29
authored
May 18, 2020
by
Philipp Arras
Browse files
Cleanup
parent
c57503a4
Pipeline
#75118
passed with stages
in 25 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_field.py
View file @
fc56de29
...
...
@@ -145,11 +145,7 @@ def test_outer():
def
test_sum
():
x1
=
ift
.
RGSpace
((
9
,),
distances
=
2.
)
x2
=
ift
.
RGSpace
(
(
2
,
12
,
),
distances
=
(
0.3
,))
x2
=
ift
.
RGSpace
((
2
,
12
),
distances
=
(
0.3
,))
m1
=
ift
.
Field
(
ift
.
makeDomain
(
x1
),
np
.
arange
(
9
))
m2
=
ift
.
Field
.
full
(
ift
.
makeDomain
((
x1
,
x2
)),
0.45
)
res1
=
m1
.
s_sum
()
...
...
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