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
Neel Shah
NIFTy
Commits
2cf46dc5
Commit
2cf46dc5
authored
Jun 02, 2021
by
Philipp Frank
Browse files
hotfix kl mgvi
parent
18ab70b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/minimization/kl_energies.py
View file @
2cf46dc5
...
...
@@ -206,7 +206,7 @@ class _MetricGaussianSampler:
lin
=
Linearization
.
make_var
(
position
.
extract
(
H
.
domain
),
True
)
self
.
_met
=
H
(
lin
).
metric
if
napprox
>=
1
:
self
.
_met
.
_approximation
=
makeOp
(
approximation2endo
(
met
,
napprox
))
self
.
_met
.
_approximation
=
makeOp
(
approximation2endo
(
self
.
_
met
,
napprox
))
self
.
_n
=
int
(
n_samples
)
def
draw_samples
(
self
,
comm
):
...
...
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