From 3706bcbc3e789cba59523dbf9dab1bbbba9b0710 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Tue, 20 Dec 2011 14:19:01 +0000 Subject: [PATCH] fixed bug --- processing/post/addDivergence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/addDivergence.py b/processing/post/addDivergence.py index 8b0397163..a30880770 100755 --- a/processing/post/addDivergence.py +++ b/processing/post/addDivergence.py @@ -94,7 +94,7 @@ for choice in options.accuracy: parser.error('accuracy must be chosen from %s...'%(', '.join(accuracyChoices))) if options.fft: options.accuracy.append('fft') -resSkip = [lambda a,b: a+b for a,b in zip(options.res,options.skip)] +resSkip = map(lambda (a,b): a+b,zip(options.res,options.skip)) datainfo = { # list of requested labels per datatype 'vector': {'len':3, 'label':[]},