Skip to content

Commit

Permalink
Formatted.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Feb 26, 2024
1 parent 07f4a48 commit a3a80dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ impl Long {
}
impl std::ops::AddAssign<&Long> for Long {
fn add_assign(&mut self, other: &Long) {
self.digits.resize(std::cmp::max(self.digits.len(), other.digits.len()), 0);
self.digits
.resize(std::cmp::max(self.digits.len(), other.digits.len()), 0);
let mut carry = false;
for (sd, od) in self
.digits
Expand Down

0 comments on commit a3a80dc

Please sign in to comment.