mirror of
https://github.com/Z3Prover/z3
synced 2026-04-13 15:56:27 +00:00
Remove nonsensical assertion and revert to simpler shift for SMALL_INT constants
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
This commit is contained in:
parent
dcfeb559fe
commit
5edef9e9a0
2 changed files with 2 additions and 4 deletions
|
|
@ -939,7 +939,6 @@ void mpz_manager<SYNCH>::big_rem(mpz const & a, mpz const & b, mpz & c) {
|
|||
|
||||
template<bool SYNCH>
|
||||
void mpz_manager<SYNCH>::gcd(mpz const & a, mpz const & b, mpz & c) {
|
||||
static_assert(sizeof(int) == sizeof(int), "size mismatch");
|
||||
static_assert(sizeof(mpz) <= 16, "mpz size overflow");
|
||||
if (is_small(a) && is_small(b)) {
|
||||
int64_t _a = a.value64();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue