From a89c949315c5595aa69bafc8af5c6b6d52cd59e8 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sat, 12 Jun 2021 15:46:44 +1000 Subject: [PATCH] Fix description of quota options --- src/stv/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stv/mod.rs b/src/stv/mod.rs index 5335347..668669b 100644 --- a/src/stv/mod.rs +++ b/src/stv/mod.rs @@ -132,8 +132,8 @@ impl STVOptions { if let Some(dps) = self.round_weights { flags.push(format!("--round-weights {}", dps)); } if let Some(dps) = self.round_votes { flags.push(format!("--round-votes {}", dps)); } if let Some(dps) = self.round_quota { flags.push(format!("--round-quota {}", dps)); } - if self.quota != QuotaType::Droop { flags.push(self.quota.describe()); } - if self.quota_criterion != QuotaCriterion::GreaterOrEqual { flags.push(self.quota_criterion.describe()); } + if self.quota != QuotaType::DroopExact { flags.push(self.quota.describe()); } + if self.quota_criterion != QuotaCriterion::Greater { flags.push(self.quota_criterion.describe()); } if self.quota_mode != QuotaMode::Static { flags.push(self.quota_mode.describe()); } if self.surplus != SurplusMethod::WIG { flags.push(self.surplus.describe()); } if self.surplus_order != SurplusOrder::BySize { flags.push(self.surplus_order.describe()); }