Skip to content

Commit

Permalink
Merge pull request ossimlabs#239 from ossimlabs/remap
Browse files Browse the repository at this point in the history
Added verbage to comments
  • Loading branch information
oscarkramer authored Jul 30, 2019
2 parents a0316bb + f952fec commit 86b2cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/ossimGeodeticEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ bool ossimGeodeticEvaluator::direct(const ossimGpt& p1,
double cos2sigm;
double cos2sigm2;

while (abs(sigma - prevSigma) > 1.e-12)
while (fabs(sigma - prevSigma) > 1.e-12)
{
// eq. 5
sigmaM2 = 2.0*sigma1 + sigma;
Expand Down Expand Up @@ -276,7 +276,7 @@ bool ossimGeodeticEvaluator::inverse(const ossimGpt& p1,


// Check delta lambda for convergence
double delta = abs(lam - lam0);
double delta = fabs(lam - lam0);
if (delta < 1e-13 && iter>=iterMin)
{
converged = true;
Expand Down

0 comments on commit 86b2cb9

Please sign in to comment.