updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings
This commit is contained in:
@@ -101,12 +101,12 @@ protected:
|
||||
{
|
||||
double tmp, sum = 0;
|
||||
double nsum = 0;
|
||||
for(size_t i = 0; i < 3; ++i)
|
||||
for(int i = 0; i < 3; ++i)
|
||||
{
|
||||
tmp = static_cast<double>(v1[i]);
|
||||
tmp = v1[i];
|
||||
nsum += tmp * tmp;
|
||||
|
||||
tmp = tmp - static_cast<double>(v2[i]);
|
||||
tmp = tmp - v2[i];
|
||||
sum += tmp * tmp;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user