Fix unnecessary recursion in ERS97 algorithm
This commit is contained in:
parent
65b1d8e42b
commit
4690c32607
|
@ -841,8 +841,8 @@ fn elect_meeting_quota<'a, N: Number>(state: &mut CountState<'a, N>, opts: &STVO
|
|||
calculate_quota(state, opts);
|
||||
|
||||
// Repeat in case vote required for election has changed
|
||||
match elect_meeting_quota(state, opts) {
|
||||
Ok(_) => {}
|
||||
match elect_hopefuls(state, opts) {
|
||||
Ok(_) => { break; }
|
||||
Err(e) => { return Err(e); }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue