pub(super) fn change_b(&mut self, constraint: usize, change: OF) {
        // There is no reason to change the value for a constraint already removed.
        debug_assert!(!self.constraints_marked_removed.contains(&constraint));

        if let Some(existing_value) = self.b.get_mut(&constraint) {
            *existing_value += change;
        } else {
            self.b.insert(constraint, &self.general_form.b[constraint] + change);
        }
    }
/// Change the constraint value by a certain amount.
Change the constraint value by a certain amount.
Change the constraint value by a certain amount .
pub(super) fn change_b(&mut self, constraint: usize, change: OF) {
        // There is no reason to change the value for a constraint already removed.
        debug_assert!(!self.constraints_marked_removed.contains(&constraint));
        if let Some(existing_value) = self.b.get_mut(&constraint) {
            *existing_value += change;
        } else {
            self.b.insert(constraint, &self.general_form.b[constraint] + change);
        }
    }
pub ( super ) fn change_b ( & mut self , constraint : usize , change : OF ) { // There is no reason to change the value for a constraint already removed. debug_assert ! ( self constraints_marked_removed contains ( constraint ) ) ; if let Some ( existing_value ) = self . b . get_mut ( & constraint ) { * existing_value += change ; } else { self . b . insert ( constraint , & self . general_form . b [ constraint ] + change ) ; } }
Change the constraint value by a certain amount.
Change the constraint value by a certain amount .
&mut self
constraint
usize
change
OF
&mut self
constraint
usize
change
OF