Commit 2f1cb237 authored by Philipp Arras's avatar Philipp Arras
Browse files

Do not automatically set point_estimates to anything

This behaviour is not intended according to the docstring.
parent 3f52237c
......@@ -68,8 +68,6 @@ class MetricGaussianKL(Energy):
raise TypeError
self._hamiltonian = hamiltonian
self._constants = constants
if point_estimates is None:
point_estimates = constants
self._constants_samples = point_estimates
if _samples is None:
met = hamiltonian(Linearization.make_partial_var(
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