Skip to content
Snippets Groups Projects
Commit a0487905 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ERR : pow(doublie, ui) -> pow(double, double)

parent c49a89aa
Branches
Tags
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment