fixed columns array size
This commit is contained in:
parent
7875023ef0
commit
6acf8a8285
|
@ -59,7 +59,7 @@ class Simulator:
|
||||||
rows = list(range(self.shape.blockSizeC)) * (int(totalRows/self.shape.blockSizeC)+1)
|
rows = list(range(self.shape.blockSizeC)) * (int(totalRows/self.shape.blockSizeC)+1)
|
||||||
columns = list(range(self.shape.blockSizeR)) * (int(totalColumns/self.shape.blockSizeR)+1)
|
columns = list(range(self.shape.blockSizeR)) * (int(totalColumns/self.shape.blockSizeR)+1)
|
||||||
rows = rows[0:totalRows]
|
rows = rows[0:totalRows]
|
||||||
columns = columns[0:totalRows]
|
columns = columns[0:totalColumns]
|
||||||
random.shuffle(rows)
|
random.shuffle(rows)
|
||||||
random.shuffle(columns)
|
random.shuffle(columns)
|
||||||
offsetR = lightVal*self.shape.chiR
|
offsetR = lightVal*self.shape.chiR
|
||||||
|
|
Loading…
Reference in New Issue