mirror of
https://github.com/codex-storage/das-research.git
synced 2025-02-23 16:28:27 +00:00
Rows and columns to sets
This commit is contained in:
parent
795bb1d10d
commit
296c4fb762
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user