From ed97a861a9d174be05fd3f58431a6f67b2802275 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Mon, 10 Apr 2023 22:05:48 +0200 Subject: [PATCH] fixup: increase step counter while steps4StopCondition Signed-off-by: Csaba Kiraly --- DAS/simulator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DAS/simulator.py b/DAS/simulator.py index c2a099f..c3b7352 100644 --- a/DAS/simulator.py +++ b/DAS/simulator.py @@ -237,8 +237,7 @@ class Simulator: self.logger.debug("The entire block is available at step %d, with failure rate %d !" % (steps, self.shape.failureRate), extra=self.format) missingVector.append(missingSamples) break - else: - steps += 1 + steps += 1 progress = pd.DataFrame(progressVector) if self.config.saveProgress: