fix: mpz::power for USE_GMP=OFF
This commit is contained in:
parent
7185f99822
commit
e9e40789c1
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ mpz & mpz::operator%=(mpz const & o) {
|
|||
|
||||
mpz mpz::pow(unsigned int p) const {
|
||||
unsigned mask = 1;
|
||||
mpz power(p);
|
||||
mpz power(*this);
|
||||
mpz result(1);
|
||||
while (mask <= p) {
|
||||
if (mask & p)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue