diff options
author | Jack Lloyd <[email protected]> | 2017-10-03 00:37:43 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-03 00:37:43 -0400 |
commit | 180540de74c58a72492692f58b63f32647e80bd8 (patch) | |
tree | 9009e260b21d1e3b0b739f58ca831b7395136327 /src/lib/math/numbertheory/powm_mnt.cpp | |
parent | e4eaf414973f65c4e36a34a7b19f1cc20fe93f8a (diff) |
Remove redundant parens
Sonar
Diffstat (limited to 'src/lib/math/numbertheory/powm_mnt.cpp')
-rw-r--r-- | src/lib/math/numbertheory/powm_mnt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/powm_mnt.cpp b/src/lib/math/numbertheory/powm_mnt.cpp index cd385e7ec..d3b5805e4 100644 --- a/src/lib/math/numbertheory/powm_mnt.cpp +++ b/src/lib/math/numbertheory/powm_mnt.cpp @@ -28,7 +28,7 @@ void Montgomery_Exponentiator::set_base(const BigInt& base) { m_window_bits = Power_Mod::window_bits(m_exp.bits(), base.bits(), m_hints); - m_g.resize((1U << m_window_bits)); + m_g.resize(1U << m_window_bits); BigInt z(BigInt::Positive, 2 * (m_mod_words + 1)); secure_vector<word> workspace(z.size()); |