set xi_a for Fp::init

pull/2/head
MITSUNARI Shigeo 6 years ago
parent 51ae7d86e9
commit 5236952bfd
  1. 2
      sample/rawbench.cpp

@ -25,7 +25,7 @@ void mul9(const mcl::fp::Op& op, Unit *y, const Unit *x, const Unit *p)
void benchRaw(const char *p, mcl::fp::Mode mode)
{
Fp::init(p, mode);
Fp::init(1, p, mode);
Fp2::init();
const size_t maxN = sizeof(Fp) / sizeof(Unit);
const mcl::fp::Op& op = Fp::getOp();

Loading…
Cancel
Save