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:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user