diff --git a/include/mcl/fp.hpp b/include/mcl/fp.hpp index 4f3c35b..cfe40e9 100644 --- a/include/mcl/fp.hpp +++ b/include/mcl/fp.hpp @@ -444,13 +444,13 @@ public: void setLittleEndianMod(const void *buf, size_t bufSize) { bool b; - setLittleEndianMod(&b, buf, bufSize, mcl::fp::Mod); + setLittleEndianMod(&b, buf, bufSize); if (!b) throw cybozu::Exception("setLittleEndianMod"); } void setBigEndianMod(const void *buf, size_t bufSize) { bool b; - setBigEndianMod(&b, buf, bufSize, mcl::fp::Mod); + setBigEndianMod(&b, buf, bufSize); if (!b) throw cybozu::Exception("setBigEndianMod"); } void setByCSPRNG(fp::RandGen rg = fp::RandGen())