mirror of
https://github.com/codex-storage/das-research.git
synced 2025-02-23 08:18:14 +00:00
Small fix
This commit is contained in:
parent
ae36844e7f
commit
c4ad3cf80e
@ -230,7 +230,7 @@ class Simulator:
|
|||||||
|
|
||||||
if missingSamples == oldMissingSamples:
|
if missingSamples == oldMissingSamples:
|
||||||
if len(missingVector) > self.config.steps4StopCondition:
|
if len(missingVector) > self.config.steps4StopCondition:
|
||||||
if missingSamples == missingVector[len(missingVector)-1-self.config.steps4StopCondition]:
|
if missingSamples == missingVector[-self.config.steps4StopCondition]:
|
||||||
self.logger.debug("The block cannot be recovered, failure rate %d!" % self.shape.failureRate, extra=self.format)
|
self.logger.debug("The block cannot be recovered, failure rate %d!" % self.shape.failureRate, extra=self.format)
|
||||||
break
|
break
|
||||||
missingVector.append(missingSamples)
|
missingVector.append(missingSamples)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user