Fix __repr__ implementation for SingleLayerModel (#46)

This commit is contained in:
Jonathan Jouty 2016-11-22 22:21:45 +00:00 committed by Matt Graham
parent d41063dca6
commit 6892424a43

View File

@ -69,7 +69,7 @@ class SingleLayerModel(object):
return self.layer.params_penalty()
def __repr__(self):
return 'SingleLayerModel(' + str(layer) + ')'
return 'SingleLayerModel(' + str(self.layer) + ')'
class MultipleLayerModel(object):