# HG changeset patch # User Xavier Glorot # Date 1249945931 14400 # Node ID 96d5114b7a8ef11de0faad2f1b58b02cb0763e65 # Parent a48ec81bec9d204d608a9f10a60ce4cfe9a83225 bug fix in unsupupdate instance method DAA input groups diff -r a48ec81bec9d -r 96d5114b7a8e pylearn/algorithms/sandbox/DAA_inputs_groups.py --- a/pylearn/algorithms/sandbox/DAA_inputs_groups.py Mon Aug 10 14:58:40 2009 -0400 +++ b/pylearn/algorithms/sandbox/DAA_inputs_groups.py Mon Aug 10 19:12:11 2009 -0400 @@ -870,9 +870,9 @@ cost[i] = inst.globalupdate[i](*data[i]) else: if typeup == 'local': - cost[layer] = inst.localupdate[i](*data) + cost[layer] = inst.localupdate[layer](*data) if typeup == 'global': - cost[layer] = inst.globalupdate[i](*data) + cost[layer] = inst.globalupdate[layer](*data) if printcost: print cost return cost