Skip to content

Commit

Permalink
Fix sign in bitwise operations
Browse files Browse the repository at this point in the history
  • Loading branch information
cerg2010cerg2010 committed Jul 12, 2022
1 parent 4cacdb6 commit 27dae38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bint/bitoperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Bint& Bint::bitOperation(const Bint& a, std::function<uint64_t(uint64_t&,const u
number[j] = lambda(number[j], bin[j]);
}

eraseLeadingSign();
return *this;
}

Expand Down

0 comments on commit 27dae38

Please sign in to comment.