explicit cosntruction from unsigend long

This commit is contained in:
Michael Hemmer 2010-02-15 16:13:28 +00:00
parent 8126d7edbf
commit 309430bb6c
1 changed files with 1 additions and 2 deletions

View File

@ -291,8 +291,7 @@ public:
for (i = v.begin(); i != v.end(); ++i)
{
res += std::ldexp(static_cast<double>(*i),
static_cast<int>(exp2));
res += T(std::ldexp(static_cast<double>(*i),static_cast<int>(exp2)));
exp2 += log_limb;
}