one more warning fix, thanks to Armin Berres

This commit is contained in:
Gael Guennebaud 2008-12-12 13:50:01 +00:00
parent 1ed17b037d
commit ef0cd3a289

View File

@ -254,7 +254,7 @@ inline long double ei_pow(long double x, long double y) { return std::pow(x, y)
template<> inline long double ei_random(long double a, long double b)
{
return static_cast<long double>(ei_random<double>(a,b));
return ei_random<double>(static_cast<double>(a),static_cast<double>(b));
}
template<> inline long double ei_random()
{