From 3c3179038c939e4f3c832797da0edbe587863f34 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sun, 26 Aug 2018 12:34:10 +0900 Subject: fix for Vint --- include/mcl/ec.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 { -- cgit