changeset 482:b15dad843c8c

bugfix
author Olivier Breuleux <breuleuo@iro.umontreal.ca>
date Tue, 28 Oct 2008 00:23:13 -0400
parents 8fcd0f3d9a17
children 2c4738e5e4b2
files algorithms/daa.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/algorithms/daa.py	Mon Oct 27 17:26:00 2008 -0400
+++ b/algorithms/daa.py	Tue Oct 28 00:23:13 2008 -0400
@@ -110,7 +110,7 @@
             obj.b1 = N.zeros(hidden_size)
             obj.b2 = N.zeros(input_size)
         if seed is not None:
-            self.seed(seed)
+            obj.seed(seed)
         obj.__hide__ = ['params']
 
     def build_regularization(self):