pub(crate) fn change_single_value<TallyLike:Into<Tally>>(&self,which_subelem:usize,new_vote_value:TallyLike) -> Self {
        let mut res = self.clone();
        res.changes[which_subelem].vote_value=new_vote_value.into();
        res
    }
/// utility used in optimization that changes one of the values to some new value.
utility used in optimization that changes one of the values to some new value.
utility used in optimization that changes one of the values to some new value .
pub(crate) fn change_single_value<TallyLike:Into<Tally>>(&self,which_subelem:usize,new_vote_value:TallyLike) -> Self {
        let mut res = self.clone();
        res.changes[which_subelem].vote_value=new_vote_value.into();
        res
    }
pub ( crate ) fn change_single_value < TallyLike : Into < Tally > > ( & self , which_subelem : usize , new_vote_value : TallyLike ) -> Self { let mut res = self . clone ( ) ; res . changes [ which_subelem ] . vote_value = new_vote_value . into ( ) ; res }
utility used in optimization that changes one of the values to some new value.
utility used in optimization that changes one of the values to some new value .
&self
which_subelem
usize
new_vote_value
TallyLike
&self
which_subelem
usize
new_vote_value
TallyLike