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
93e2788f
Commit
93e2788f
authored
Mar 25, 2020
by
Martin Reinecke
Browse files
Merge branch 'nifty6_fix_kl_samples_prop' into 'NIFTy_6'
metric_gaussian_kl.py: Fix samples property See merge request
!431
parents
f3dea2e4
e37d445b
Pipeline
#71427
passed with stages
in 17 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/minimization/metric_gaussian_kl.py
View file @
93e2788f
...
...
@@ -246,7 +246,7 @@ class MetricGaussianKL(Energy):
def
samples
(
self
):
if
self
.
_comm
is
not
None
:
res
=
self
.
_comm
.
allgather
(
self
.
_samples
)
res
=
[
item
for
sublist
in
res
for
item
in
sublist
]
res
=
tuple
(
item
for
sublist
in
res
for
item
in
sublist
)
else
:
res
=
self
.
_samples
if
self
.
_mirror_samples
:
...
...
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