diff --git a/src/cli/stv.rs b/src/cli/stv.rs index ed9d9ce..0235c8d 100644 --- a/src/cli/stv.rs +++ b/src/cli/stv.rs @@ -543,7 +543,7 @@ where } else { stage_results[3 + election.candidates.len()].push(format!(r#"{:.dps$}"#, nt_transfers, dps=opts.pp_decimals)); } - stage_results[3 + election.candidates.len()].push(format!(r#"{:.dps$}"#, &state.exhausted.votes + &state.loss_fraction.votes, dps=opts.pp_decimals)); + stage_results[3 + election.candidates.len()].push(format!(r#"{:.dps$}"#, &state.exhausted.votes + &state.loss_fraction.votes - &invalid_votes, dps=opts.pp_decimals)); // Totals stage_results[4 + election.candidates.len()].push(String::new());