Commit 2cf46dc5 authored by Philipp Frank's avatar Philipp Frank
Browse files

hotfix kl mgvi

parent 18ab70b6
......@@ -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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment