aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory/powm_fw.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-03 00:37:43 -0400
committerJack Lloyd <[email protected]>2017-10-03 00:37:43 -0400
commit180540de74c58a72492692f58b63f32647e80bd8 (patch)
tree9009e260b21d1e3b0b739f58ca831b7395136327 /src/lib/math/numbertheory/powm_fw.cpp
parente4eaf414973f65c4e36a34a7b19f1cc20fe93f8a (diff)
Remove redundant parens
Sonar
Diffstat (limited to 'src/lib/math/numbertheory/powm_fw.cpp')
-rw-r--r--src/lib/math/numbertheory/powm_fw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/powm_fw.cpp b/src/lib/math/numbertheory/powm_fw.cpp
index c4af8b012..85a0364b5 100644
--- a/src/lib/math/numbertheory/powm_fw.cpp
+++ b/src/lib/math/numbertheory/powm_fw.cpp
@@ -25,7 +25,7 @@ void Fixed_Window_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);
m_g[0] = 1;
m_g[1] = base;