From 322b90c1601acd51a2bfdd5a9ed45759526620f3 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sat, 4 Jul 2020 10:42:24 +0900 Subject: [PATCH] remove unnecessary param --- include/mcl/fp.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())