Skip to content
Snippets Groups Projects
Commit 57558ec7 authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Fixing ambiguous call to vcl_sqrt()

parent cd490128
No related branches found
No related tags found
No related merge requests found
...@@ -138,8 +138,8 @@ namespace otb ...@@ -138,8 +138,8 @@ namespace otb
/** For each octave, we fill the imageList for the extremum search*/ /** For each octave, we fill the imageList for the extremum search*/
m_ImageList->PushBack(m_determinantImage); m_ImageList->PushBack(m_determinantImage);
} }
/*----------------------------------------------------*/ /*----------------------------------------------------*/
/* extremum Search over octave's scales */ /* extremum Search over octave's scales */
/*----------------------------------------------------*/ /*----------------------------------------------------*/
...@@ -351,7 +351,7 @@ namespace otb ...@@ -351,7 +351,7 @@ namespace otb
{ {
col = i%Largeur - rayon ; col = i%Largeur - rayon ;
raw = i/Largeur - rayon ; raw = i/Largeur - rayon ;
dist = vcl_sqrt(col *col + raw * raw ); dist = vcl_sqrt(static_cast<double>(col *col + raw * raw) );
col +=rayon; col +=rayon;
raw +=rayon; // Backup to the image coordinate axes raw +=rayon; // Backup to the image coordinate axes
......
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