From 12773c4d2435ca3ec49b30fc3068cac3431d077a Mon Sep 17 00:00:00 2001 From: Marcel Keller Date: Sat, 21 Dec 2019 17:32:14 +0100 Subject: [PATCH] Typo. --- Math/Zp_Data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Math/Zp_Data.cpp b/Math/Zp_Data.cpp index 4ff42f4f7..457441abb 100644 --- a/Math/Zp_Data.cpp +++ b/Math/Zp_Data.cpp @@ -17,7 +17,7 @@ void Zp_Data::init(const bigint& p,bool mont) #endif pr=p; - mask=static_cast(1ULL<<((mpz_sizeinbase(pr.get_mpz_t(),2)-1)%(8*sizeof(mp_limb_t))))-1); + mask=static_cast(1ULL<<((mpz_sizeinbase(pr.get_mpz_t(),2)-1)%(8*sizeof(mp_limb_t))))-1; pr_byte_length = numBytes(pr); pr_bit_length = numBits(pr); int k = pr_bit_length;