fixed columns array size

This commit is contained in:
Sudipta Basak 2024-02-18 14:22:57 +01:00
parent 7875023ef0
commit 6acf8a8285
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class Simulator:
rows = list(range(self.shape.blockSizeC)) * (int(totalRows/self.shape.blockSizeC)+1)
columns = list(range(self.shape.blockSizeR)) * (int(totalColumns/self.shape.blockSizeR)+1)
rows = rows[0:totalRows]
columns = columns[0:totalRows]
columns = columns[0:totalColumns]
random.shuffle(rows)
random.shuffle(columns)
offsetR = lightVal*self.shape.chiR