dev
MITSUNARI Shigeo 9 years ago
parent 43c38ac964
commit 7ff869190d
  1. 4
      include/mcl/fp_tower.hpp

@ -126,9 +126,7 @@ public:
} }
static inline void init(int xi_c) static inline void init(int xi_c)
{ {
if (Fp::maxSize > 256) { assert(Fp::maxSize <= 256);
throw cybozu::Exception("Fp2T:init:not support size") << Fp::maxSize;
}
xi_c_ = xi_c; xi_c_ = xi_c;
Fp::op_.fp2_add = fp2_addW; Fp::op_.fp2_add = fp2_addW;
Fp::op_.fp2_sub = fp2_subW; Fp::op_.fp2_sub = fp2_subW;

Loading…
Cancel
Save