fix setRand

dev
MITSUNARI Shigeo 10 years ago
parent 434afb6654
commit eeac37c10d
  1. 2
      include/mcl/fp.hpp

@ -183,7 +183,7 @@ public:
void setRand(RG& rg)
{
fp::getRandVal(v_, rg, op_.p, op_.bitLen);
fromMont(*this, *this);
toMont(*this, *this);
}
void getStr(std::string& str, int base = 10, bool withPrefix = false) const
{

Loading…
Cancel
Save