diff --git a/Code/FeatureExtraction/otbContrastTextureFunctor.h b/Code/FeatureExtraction/otbContrastTextureFunctor.h index 97aed313d92abe230212d69c8754ff099c038782..e80712ae1b38f73018cb2c9f2f69ccccc12f2107 100644 --- a/Code/FeatureExtraction/otbContrastTextureFunctor.h +++ b/Code/FeatureExtraction/otbContrastTextureFunctor.h @@ -66,7 +66,7 @@ public: for (unsigned sB = 0; sB < this->GetHisto()[0].size(); sB++) { double nCeil = (static_cast<double>(sB) + 0.5) * this->GetNeighBinLength(); - double nCeilSquare = vcl_pow(nCeil, 2); + double nCeilSquare = nCeil*nCeil; for (unsigned r = 0; r < this->GetHisto().size(); ++r) { double rVal = (static_cast<double>(r) + 0.5) * this->GetOffsetBinLength();