fix order of arguments for cybozu::write

dev
MITSUNARI Shigeo 6 years ago
parent f3776baa35
commit cdebe9de13
  1. 2
      include/mcl/fp_tower.hpp

@ -43,7 +43,7 @@ public:
*pb = false; *pb = false;
return; return;
} }
cybozu::write(os, buf + sizeof(buf) - n, sizeof(buf), pb); cybozu::write(pb, os, buf + sizeof(buf) - n, sizeof(buf));
} }
template<class InputStream> template<class InputStream>
void load(bool *pb, InputStream& is, int) void load(bool *pb, InputStream& is, int)

Loading…
Cancel
Save