1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

build: eliminate build warnings

This commit is contained in:
Alexander Alekhin
2021-08-28 17:11:26 +00:00
parent 77a5c43d50
commit 076587425e
4 changed files with 39 additions and 32 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ namespace
for (int m = 0, ind = 0; m <= ksize; ++m)
{
for (int l = ksize; l + m >= 0; --l, ++ind)
btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l));
btvWeights[ind] = static_cast<float>(pow(alpha_f, std::abs(m) + std::abs(l)));
}
}