Commit 2603034c authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO

WRG : Correction of Code review

parent d1a4eb2c
......@@ -97,7 +97,7 @@ public:
Point3DType & satelliteVelocity) const;
/** Transform line index to satellite position (x,y,z) and satellite velocity */
bool LineToSatPositionAndVelocity(const double & line, Point3DType & satellitePosition,
bool LineToSatPositionAndVelocity(const double line, Point3DType & satellitePosition,
Point3DType & satelliteVelocity) const;
/** Transform world point (lat,lon,hgt) to cartesian point (x,y,z) */
......
......@@ -216,10 +216,10 @@ bool SarSensorModelAdapter::WorldToSatPositionAndVelocity(const Point3DType & in
return true;
}
bool SarSensorModelAdapter::LineToSatPositionAndVelocity(const double & line, Point3DType & satellitePosition,
bool SarSensorModelAdapter::LineToSatPositionAndVelocity(const double line, Point3DType & satellitePosition,
Point3DType & satelliteVelocity) const
{
if(m_SensorModel.get() == nullptr)
if(!m_SensorModel.get())
{
return false;
}
......
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