Commit 3021c617 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cleanup

parent 9a934ab1
Pipeline #75658 passed with stages
in 13 minutes and 46 seconds
...@@ -179,7 +179,6 @@ class MetricGaussianKL(Energy): ...@@ -179,7 +179,6 @@ class MetricGaussianKL(Energy):
if np.isnan(self._val) and self._mitigate_nans: if np.isnan(self._val) and self._mitigate_nans:
self._val = np.inf self._val = np.inf
self._grad = self._sumup(g)/self._n_eff_samples self._grad = self._sumup(g)/self._n_eff_samples
self._metric = None
def at(self, position): def at(self, position):
return MetricGaussianKL( return MetricGaussianKL(
......
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