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

Correction test en erreur.

parent 72a6ccc9
Branches
Tags
No related merge requests found
......@@ -57,7 +57,7 @@ int otbOrientationPath( int argc, char * argv[] )
RealType ResultTheta = function->Evaluate();
std::cout.precision(10);
std::cout << "Orientation found : " << ResultTheta <<std::endl;
if( fabs(static_double<double>(ResultTheta-Theta))>=10e-15)
if( fabs(static_cast<double>(ResultTheta-Theta))>=10e-15)
{
std::cout << "Error in Theta estimation:" <<(ResultTheta-Theta)<<std::endl;
return EXIT_FAILURE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment