diff --git a/Code/Radiometry/otbRadarFunctors.txx b/Code/Radiometry/otbRadarFunctors.txx index c32331aa6ea155966cbe841c40c813cb82e4a9e9..7867e50f6537beeb89a5e371fd2d9dffca37823a 100644 --- a/Code/Radiometry/otbRadarFunctors.txx +++ b/Code/Radiometry/otbRadarFunctors.txx @@ -82,7 +82,7 @@ TerraSarCalibrationImageFunctor<TInput, TOutput> { // m_ImageSize[1]-(lineId+1) because the first acquisition line is the last image one. // line+1 because image starts to 0. - double interval = static_cast<double>(m_ImageSize[1]) / static_cast<double>(m_NoisePolynomialCoefficientsList.size()); + //double interval = static_cast<double>(m_ImageSize[1]) / static_cast<double>(m_NoisePolynomialCoefficientsList.size()); // compute utc time of the line double currTimeUTC = m_TimeUTC[0] + static_cast<double>(m_ImageSize[1]-(lineId-1))*m_InvPRF; unsigned int id = 0; @@ -221,7 +221,7 @@ TerraSarCalibrationComplexImageFunctor<TInput, TOutput> double NEBN = 0.; for(unsigned int i=0; i<curCoeff.size(); i++) { - NEBN += curCoeff[i]*vcl_pow( diffCurRange, i); + NEBN += curCoeff[i]*vcl_pow( diffCurRange, static_cast<double>(i)); } double sigma = ( outRadBr - this->GetCalFactor()*NEBN ) * this->GetSinLocalIncidentAngle();