diff options
author | Jack Lloyd <[email protected]> | 2016-12-14 17:48:01 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-12-14 17:48:01 -0500 |
commit | 5917cdb4fb429eb27905e7dd6e15cd610b22bbcd (patch) | |
tree | 118c011d3094bb41fbba57ead779b8559626dab5 | |
parent | 40a8b17a328635c0189beb394f81ea4c9c727fed (diff) |
Remove debug code
-rw-r--r-- | src/lib/math/numbertheory/pow_mod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/pow_mod.cpp b/src/lib/math/numbertheory/pow_mod.cpp index 9f7459ac5..e4fed9925 100644 --- a/src/lib/math/numbertheory/pow_mod.cpp +++ b/src/lib/math/numbertheory/pow_mod.cpp @@ -64,7 +64,7 @@ void Power_Mod::set_modulus(const BigInt& n, Usage_Hints hints, bool disable_mon delete m_core; m_core = nullptr; - disable_monty =true; + if(n != 0) { if(n.is_odd() && disable_monty == false) |