Update main.md

This commit is contained in:
xray 2022-05-24 16:56:38 +02:00 committed by GitHub
parent d96aafea27
commit 9e4436b8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -47,4 +47,5 @@ def step(self):
elif e < 1 - alpha: elif e < 1 - alpha:
self.color = ConsensusAgent.NO self.color = ConsensusAgent.NO
else: else:
self.k = min(int(self.k * 2), self.initial_k * 4)``` self.k = min(int(self.k * 2), self.initial_k * 4)
```