Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d07f97d1 authored by GRUBER Fabian's avatar GRUBER Fabian
Browse files

XXX: beurk. fixed big error in _select_representatives.

parent e924c740
Branches
No related tags found
No related merge requests found
......@@ -714,9 +714,9 @@ class Equivalence_Class_Finder:
if self.random_representatives:
n_alphabetic = 1
n_random = min(0, self.num_representatives - 1)
n_random = max(0, self.num_representatives - 1)
else:
n_alphabetic = min(0, self.num_representatives - 1)
n_alphabetic = max(0, self.num_representatives - 1)
n_random = 1
reps = eq_class[:n_alphabetic]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment