fix. clear mul_xi in init

pull/2/head
MITSUNARI Shigeo 6 years ago
parent 23ce452c66
commit 2ac2be86d0
  1. 1
      include/mcl/fp_tower.hpp

@ -386,6 +386,7 @@ public:
// assert(Fp::maxSize <= 256);
mcl::fp::Op& op = Fp::op_;
assert(op.xi_a);
mul_xi = 0;
#ifdef MCL_XBYAK_DIRECT_CALL
add = fp::func_ptr_cast<void (*)(Fp2T& z, const Fp2T& x, const Fp2T& y)>(op.fp2_addA_);
if (add == 0) add = addC;

Loading…
Cancel
Save