Skip to content
Snippets Groups Projects
Commit 6b9cc15d authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

COMP: ambiguous call to std::sqrt

parent f7a546d3
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ void FrostImageFilter<TInputImage, TOutputImage>::ThreadedGenerateData(
{
for (int y = -rad_y; y <= rad_y; ++y)
{
double Dist = vcl_sqrt(x * x + y * y);
double Dist = vcl_sqrt(static_cast<double>(x * x + y * y));
off[0] = x;
off[1] = y;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment