[printing] warning when reconstraining now prints hierarchy names

This commit is contained in:
mzwiessele 2014-09-05 17:59:40 +01:00
parent 783aa0ca0d
commit 2dbc4cc57b

View file

@ -652,7 +652,7 @@ class Indexable(Nameable, Observable):
"""
if warning and reconstrained.size > 0:
# TODO: figure out which parameters have changed and only print those
print "WARNING: reconstraining parameters {}".format(self.parameter_names() or self.name)
print "WARNING: reconstraining parameters {}".format(self.hierarchy_name() or self.name)
index = self._raveled_index()
which.add(what, index)
return index