From cdebe9de138a2f24f64dd759635cd29020b0d7cc Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 18 Oct 2018 18:03:47 +0900 Subject: [PATCH] fix order of arguments for cybozu::write --- include/mcl/fp_tower.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mcl/fp_tower.hpp b/include/mcl/fp_tower.hpp index efe8b26..63738a3 100644 --- a/include/mcl/fp_tower.hpp +++ b/include/mcl/fp_tower.hpp @@ -43,7 +43,7 @@ public: *pb = false; return; } - cybozu::write(os, buf + sizeof(buf) - n, sizeof(buf), pb); + cybozu::write(pb, os, buf + sizeof(buf) - n, sizeof(buf)); } template void load(bool *pb, InputStream& is, int)