changeset 201:c9c966cab763

bugfix
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Thu, 15 May 2008 13:09:26 -0400
parents ac61f1178f88
children b9950ae5e54b
files dataset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dataset.py	Thu May 15 13:04:20 2008 -0400
+++ b/dataset.py	Thu May 15 13:09:26 2008 -0400
@@ -1157,7 +1157,7 @@
                   function_outputs = self.output_dataset.function(*function_inputs)
               else:
                   input_examples = zip(*function_inputs)
-                  output_examples = [self.output_dataset.function(input_example)
+                  output_examples = [self.output_dataset.function(*input_example)
                                      for input_example in input_examples]
                   function_outputs = [self.output_dataset.valuesVStack(name,values)
                                       for name,values in zip(all_output_names,