Fix merge remote-tracking branch 'origin/develop' into addDiagnostics

This commit is contained in:
Leonardo Bautista-Gomez 2023-03-30 14:06:17 +02:00
commit 1ae4352dad
2 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class Result:
missingSamples = missingVector[-1]
if missingSamples == 0:
self.blockAvailable = 1
self.tta = len(missingVector) * (1000/config.stepDuration)
self.tta = len(missingVector) * (config.stepDuration)
else:
self.blockAvailable = 0
self.tta = -1

View File

@ -71,7 +71,6 @@ class Simulator:
j = i - int(heavyVal/self.shape.vpn2)
start = offset+( j *self.shape.chi)
end = offset+((j+1)*self.shape.chi)
# Remove duplicates
r = set(rows[start:end])
c = set(columns[start:end])
val = Validator(i, int(not i!=0), self.logger, self.shape, r, c)