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
8bbab771
Commit
8bbab771
authored
Mar 23, 2020
by
Philipp Arras
Browse files
Fixup
parent
d76b2046
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty6/minimization/metric_gaussian_kl.py
View file @
8bbab771
...
...
@@ -176,8 +176,7 @@ class MetricGaussianKL(Energy):
if
_samples
is
None
:
met
=
hamiltonian
(
Linearization
.
make_partial_var
(
mean
,
self
.
_point_estimates
,
True
)).
metric
# FIXME: should this be ">=1" instead of ">1"?
if
napprox
>
1
:
if
napprox
>=
1
:
met
.
_approximation
=
makeOp
(
approximation2endo
(
met
,
napprox
))
_samples
=
[]
sseq
=
random
.
spawn_sseq
(
self
.
_n_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