Browse Source

Fix minor bug with arguments

Alex Schneider 10 years ago
parent
commit
2f33cd4746
1 changed files with 2 additions and 1 deletions
  1. 2 1
      toolset/benchmark/benchmarker.py

+ 2 - 1
toolset/benchmark/benchmarker.py

@@ -937,9 +937,10 @@ class Benchmarker:
     else:
     else:
         args['types'] = { args['type'] : types[args['type']] }
         args['types'] = { args['type'] : types[args['type']] }
     del args['type']
     del args['type']
+    
 
 
     args['max_threads'] = args['threads']
     args['max_threads'] = args['threads']
-    args['max_concurrency'] = str(max(args['concurrency']))
+    args['max_concurrency'] = str(max(args['concurrency_levels']))
 
 
     self.__dict__.update(args)
     self.__dict__.update(args)
     # pprint(self.__dict__)
     # pprint(self.__dict__)