Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
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:
...
@@ -206,7 +206,7 @@ class _MetricGaussianSampler:
lin
=
Linearization
.
make_var
(
position
.
extract
(
H
.
domain
),
True
)
lin
=
Linearization
.
make_var
(
position
.
extract
(
H
.
domain
),
True
)
self
.
_met
=
H
(
lin
).
metric
self
.
_met
=
H
(
lin
).
metric
if
napprox
>=
1
:
if
napprox
>=
1
:
self
.
_met
.
_approximation
=
makeOp
(
approximation2endo
(
met
,
napprox
))
self
.
_met
.
_approximation
=
makeOp
(
approximation2endo
(
self
.
_
met
,
napprox
))
self
.
_n
=
int
(
n_samples
)
self
.
_n
=
int
(
n_samples
)
def
draw_samples
(
self
,
comm
):
def
draw_samples
(
self
,
comm
):
...
...
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