diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-08-26 11:34:10 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-08-26 11:34:10 +0800 |
commit | 3c3179038c939e4f3c832797da0edbe587863f34 (patch) | |
tree | 1c5c11fc9bea80e1bb3985c0139e4c2bb79d11e4 | |
parent | 6aa0bc086920516ef67abff1e9f0304a12467170 (diff) | |
download | tangerine-mcl-3c3179038c939e4f3c832797da0edbe587863f34.tar.gz tangerine-mcl-3c3179038c939e4f3c832797da0edbe587863f34.tar.zst tangerine-mcl-3c3179038c939e4f3c832797da0edbe587863f34.zip |
fix for Vint
-rw-r--r-- | include/mcl/ec.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mcl/ec.hpp b/include/mcl/ec.hpp index ffad737..b3350b9 100644 --- a/include/mcl/ec.hpp +++ b/include/mcl/ec.hpp @@ -188,7 +188,7 @@ public: */ static void setOrder(const mpz_class& order) { - if (order) { + if (order != 0) { verifyOrder_ = true; order_ = order; } else { |