From 2775d180f11be032047fdc709555a2549ffc68c7 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Thu, 16 Feb 2023 17:33:31 +0100 Subject: [PATCH] debug log neighborhood of producer as well Signed-off-by: Csaba Kiraly --- DAS/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DAS/simulator.py b/DAS/simulator.py index 33d7794..07cd5d4 100644 --- a/DAS/simulator.py +++ b/DAS/simulator.py @@ -76,7 +76,7 @@ class Simulator: val2.columnNeighbors[id].update({val1.ID : Neighbor(val1, self.shape.blockSize)}) if self.logger.isEnabledFor(logging.DEBUG): - for i in range(1, self.shape.numberValidators): + for i in range(0, self.shape.numberValidators): self.logger.debug("Val %d : rowN %s", i, self.validators[i].rowNeighbors, extra=self.format) self.logger.debug("Val %d : colN %s", i, self.validators[i].columnNeighbors, extra=self.format)