From 9f1a685097cbd3cd04c4a29cf918f150da99f517 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 4 May 2021 11:50:13 +0900 Subject: [PATCH] ensure validness of proj code --- include/mcl/ec.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mcl/ec.hpp b/include/mcl/ec.hpp index 13bfe5f..7b2ac40 100644 --- a/include/mcl/ec.hpp +++ b/include/mcl/ec.hpp @@ -1232,6 +1232,8 @@ public: return; } } + *pb = isValid(); + return; } else { *pb = false; return;