Commit 8bbab771 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fixup

parent d76b2046
......@@ -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)
......
Markdown is supported
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