From 4ac2aa560dd354ff059f43e120ce7f5eb7ab6826 Mon Sep 17 00:00:00 2001 From: tomaszraducha Date: Tue, 10 May 2022 11:53:59 +0200 Subject: [PATCH] small if change, review correction --- configuration/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/config.py b/configuration/config.py index 177da59..221e8ea 100644 --- a/configuration/config.py +++ b/configuration/config.py @@ -240,7 +240,7 @@ def f(n, g): # Determine the number of states if self.num_parties < 2: raise ValueError('The simulation needs at least two states') - if self.num_parties >= 2: + else: self.all_states = generate_state_labels(self.num_parties) self.zealot_state = self.all_states[0] self.not_zealot_state = self.all_states[-1]