Commit 8db5b7d7 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed warnings under Windows

parent 0ad849d2
......@@ -689,8 +689,8 @@ namespace
for (int x = 0; x < u1x.cols; ++x)
{
const float g1 = hypot(u1xRow[x], u1yRow[x]);
const float g2 = hypot(u2xRow[x], u2yRow[x]);
const float g1 = static_cast<float>(hypot(u1xRow[x], u1yRow[x]));
const float g2 = static_cast<float>(hypot(u2xRow[x], u2yRow[x]));
const float ng1 = 1.0f + taut * g1;
const float ng2 = 1.0f + taut * g2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment