# HG changeset patch # User Xavier Glorot # Date 1248790021 14400 # Node ID 86b007959ceb239beaf4aa738f21e7d69f6c7d20 # Parent a18b87ca33e68ba5cb449ff3207cfa60bf495be8 small change (daa input groups) diff -r a18b87ca33e6 -r 86b007959ceb pylearn/algorithms/sandbox/DAA_inputs_groups.py --- a/pylearn/algorithms/sandbox/DAA_inputs_groups.py Mon Jul 27 19:07:22 2009 -0400 +++ b/pylearn/algorithms/sandbox/DAA_inputs_groups.py Tue Jul 28 10:07:01 2009 -0400 @@ -857,9 +857,9 @@ def _instance_supupdate(self,inst,data,typeup = 'global',printcost = False): if typeup is 'local': - cost[-1] = inst.localupdate[-1](*data) + cost = inst.localupdate[-1](*data) if typeup is 'global': - cost[-1] = inst.globalupdate[-1](*data) + cost = inst.globalupdate[-1](*data) if printcost: print cost return cost