diff options
Diffstat (limited to 'src/lib/math/numbertheory/powm_fw.cpp')
-rw-r--r-- | src/lib/math/numbertheory/powm_fw.cpp | 2 |
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 7369959a9..7d69a2602 100644 --- a/src/lib/math/numbertheory/powm_fw.cpp +++ b/src/lib/math/numbertheory/powm_fw.cpp @@ -31,7 +31,7 @@ void Fixed_Window_Exponentiator::set_base(const BigInt& base) m_g[1] = base; for(size_t i = 2; i != m_g.size(); ++i) - m_g[i] = m_reducer.multiply(m_g[i-1], m_g[0]); + m_g[i] = m_reducer.multiply(m_g[i-1], m_g[1]); } /* |