Commit 660ffd51 authored by Antoine Regimbeau's avatar Antoine Regimbeau

Merge branch '1517-compilation-error-in-debug-in-ossimsarsensormodel' into 'develop'

Resolve "Compilation error in Debug in ossimSarSensorModel"

Closes #1517

See merge request orfeotoolbox/otb!11
parents 5d4c5c97 be998794
......@@ -315,7 +315,7 @@ void ossimSarSensorModel::worldToLineSampleYZ(const ossimGpt& worldPt, ossimDpt
// TODO check for small NormesS to avoid division by zero ?
// Should never happen ...
z = NormeS - PS2/NormeS;
double distance = sqrt((sensorPos[0]-inputPt[0])*(sensorPos[0]-inputPt[0]) +
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment