diff --git a/lemon/random.h b/lemon/random.h --- a/lemon/random.h +++ b/lemon/random.h @@ -67,9 +67,10 @@ #include #include -#include +#include #include + ///\ingroup misc ///\file ///\brief Mersenne Twister random number generator @@ -759,7 +760,7 @@ { double xi,nu; const double delta = k-std::floor(k); - const double v0=M_E/(M_E-delta); + const double v0=E/(E-delta); do { double V0=1.0-real(); double V1=1.0-real();