diff options
| author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-18 17:03:47 +0800 |
|---|---|---|
| committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-18 17:03:47 +0800 |
| commit | cdebe9de138a2f24f64dd759635cd29020b0d7cc (patch) | |
| tree | 92a691a8903677d98f3b7f6a0ef4064a4e6a7161 | |
| parent | f3776baa350dc4d5d534736197231f16a8b9697f (diff) | |
| download | tangerine-mcl-cdebe9de138a2f24f64dd759635cd29020b0d7cc.tar.gz tangerine-mcl-cdebe9de138a2f24f64dd759635cd29020b0d7cc.tar.zst tangerine-mcl-cdebe9de138a2f24f64dd759635cd29020b0d7cc.zip | |
fix order of arguments for cybozu::write
| -rw-r--r-- | include/mcl/fp_tower.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<class InputStream> void load(bool *pb, InputStream& is, int) |
