diff options
Diffstat (limited to 'include/mcl/ec.hpp')
-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 { |