From c4b33bdf84f836ffbf5a795b771ab958fefe8a93 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 11 Dec 2015 00:20:07 +0800 Subject: [PATCH] examples/speed_benchmark: fix nruns step --- examples/master/repository/speed_benchmark.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/master/repository/speed_benchmark.py b/examples/master/repository/speed_benchmark.py index 8cc61aaba..fbd081f1c 100644 --- a/examples/master/repository/speed_benchmark.py +++ b/examples/master/repository/speed_benchmark.py @@ -78,7 +78,8 @@ class SpeedBenchmark(EnvExperiment): "CoreSend100Ints", "CoreSend1MB", "CorePrimes"])) - self.setattr_argument("nruns", NumberValue(10, min=1, max=1000, ndecimals=0)) + self.setattr_argument("nruns", NumberValue(10, min=1, max=1000, + ndecimals=0, step=1)) self.setattr_device("core") self.setattr_device("scheduler")