Commit 4999e599 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ERR : change pow(double, int) -> pow(double, double)

parent f187d2be
...@@ -120,7 +120,7 @@ TerraSarCalibrationImageFunctor<TInput, TOutput> ...@@ -120,7 +120,7 @@ TerraSarCalibrationImageFunctor<TInput, TOutput>
double NEBN = 0.; double NEBN = 0.;
for(unsigned int i=0; i<curCoeff.size(); i++) 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 - m_CalFactor*NEBN ) * m_SinLocalIncidentAngle; double sigma = ( outRadBr - m_CalFactor*NEBN ) * m_SinLocalIncidentAngle;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment