Commit 3a462e52 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fix repr of Hamiltonian

parent 164e7503
......@@ -130,4 +130,4 @@ class MetricGaussianKL(Energy):
def __repr__(self):
return 'KL ({} samples):\n'.format(len(
self._samples)) + utilities.indent(self._ham.__repr__())
self._samples)) + utilities.indent(self._hamiltonian.__repr__())
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