fix test on debug mode

dev
MITSUNARI Shigeo 8 years ago
parent 0e658ccf27
commit c23d3804b3
  1. 2
      include/mcl/bn.hpp
  2. 2
      include/mcl/fp_tower.hpp

@ -348,7 +348,7 @@ struct GLV2 {
template<class T>
void mul(T& Q, const T& P, mpz_class x, bool constTime = false) const
{
#ifndef NDEBUG
#if 0 // #ifndef NDEBUG
{
T R;
T::mulGeneric(R, P, r);

@ -1166,7 +1166,7 @@ struct GroupMtoA : public T {
}
void normalize() {}
private:
bool isOne() const { return false; }
bool isOne() const;
};
} // mcl

Loading…
Cancel
Save