From f7b648200381a9dd3d2f648b0b003a0beb085c4d Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 21 Jul 2017 10:39:33 +0900 Subject: [PATCH] fix bgn::SecretKey::readStream --- include/mcl/bgn.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mcl/bgn.hpp b/include/mcl/bgn.hpp index ec0efcd..2885ec2 100644 --- a/include/mcl/bgn.hpp +++ b/include/mcl/bgn.hpp @@ -552,6 +552,7 @@ public: { x.readStream(is, ioMode); y.readStream(is, ioMode); + initInner(); return is; } void getStr(std::string& str, int ioMode = 0) const