From 6892424a4324a300d9d715e24c9b1e7c8a51efa2 Mon Sep 17 00:00:00 2001 From: Jonathan Jouty Date: Tue, 22 Nov 2016 22:21:45 +0000 Subject: [PATCH] Fix __repr__ implementation for SingleLayerModel (#46) --- mlp/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlp/models.py b/mlp/models.py index c7ace3c..44fad53 100644 --- a/mlp/models.py +++ b/mlp/models.py @@ -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):