changeset 335:afabe8ada21f

Revived the use of custom distribute function
author Sigurd Meldgaard <stm@daimi.au.dk>
date Wed, 07 Jul 2010 11:15:02 +0200
parents 5a7d7698512b
children ca43b16ec8e1
files pysmcl/flow.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/flow.py	Wed Jul 07 11:14:30 2010 +0200
+++ b/pysmcl/flow.py	Wed Jul 07 11:15:02 2010 +0200
@@ -29,8 +29,8 @@
             for child in x.children:
                 child.in_values[key] = x.out_values[key]
 
-    #if distribute is None:
-    distribute = default_distribute
+    if distribute is None:
+        distribute = default_distribute
 
     # initialization