Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resolve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
resolve
Commits
36970bf1
Commit
36970bf1
authored
3 years ago
by
Philipp Arras
Browse files
Options
Downloads
Plain Diff
Merge branch 'nifty' into 'master'
Adopt to new nifty version See merge request
!32
parents
846e8899
b2712453
No related branches found
No related tags found
1 merge request
!32
Adopt to new nifty version
Pipeline
#113818
failed
3 years ago
Stage: build_docker
Stage: testing
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_mpi/test_add.py
+2
-1
2 additions, 1 deletion
test/test_mpi/test_add.py
with
2 additions
and
1 deletion
test/test_mpi/test_add.py
+
2
−
1
View file @
36970bf1
...
...
@@ -5,6 +5,7 @@
from
functools
import
reduce
from
operator
import
add
from
types
import
GeneratorType
from
mpi4py
import
MPI
import
numpy
as
np
...
...
@@ -128,5 +129,5 @@ def test_mpi_adder():
mini_results
=
[]
for
ham
in
hams_for_sampling
:
with
ift
.
random
.
Context
(
42
):
mini_results
.
append
(
mini
(
ift
.
SampledKLEnergy
(
pos
,
ham
,
3
,
None
))[
0
].
position
)
mini_results
.
append
(
mini
(
ift
.
SampledKLEnergy
(
pos
,
ham
,
3
,
None
,
comm
=
MPI
.
COMM_SELF
))[
0
].
position
)
allclose
(
mini_results
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment