Rows and columns to sets

This commit is contained in:
Leonardo Bautista-Gomez 2023-03-30 13:36:48 +02:00
parent 795bb1d10d
commit 296c4fb762
1 changed files with 2 additions and 4 deletions

View File

@ -61,10 +61,8 @@ class Simulator:
j = i - int(heavyVal/self.shape.vpn2)
start = offset+( j *self.shape.chi)
end = offset+((j+1)*self.shape.chi)
r = list(set(rows[start:end]))
c = list(set(columns[start:end]))
r.sort()
c.sort()
r = set(rows[start:end])
c = set(columns[start:end])
val = Validator(i, int(not i!=0), self.logger, self.shape, r, c)
else:
val = Validator(i, int(not i!=0), self.logger, self.shape)