diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-04-03 21:59:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-03 21:59:05 +0200 |
| commit | b6210a0e25f9810c4af747de492920eb422fb259 (patch) | |
| tree | fe9a53e6a1969ac0435b6dc4f06aed5763b62055 /src/generic_inverse.cpp | |
| parent | 722cf8840c390fa9c5bb34d6a882cf072dd77044 (diff) | |
| parent | 2594b3a2240db7d7007e1c98f08762613b7f7e73 (diff) | |
| download | PROJ-b6210a0e25f9810c4af747de492920eb422fb259.tar.gz PROJ-b6210a0e25f9810c4af747de492920eb422fb259.zip | |
Merge pull request #2637 from rouault/hyperbolic_cass
Add support for hyperbolic Cassini-Soldner
Diffstat (limited to 'src/generic_inverse.cpp')
| -rw-r--r-- | src/generic_inverse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic_inverse.cpp b/src/generic_inverse.cpp index 41cf6c50..28d939fb 100644 --- a/src/generic_inverse.cpp +++ b/src/generic_inverse.cpp @@ -55,7 +55,7 @@ PJ_LP pj_generic_inverse_2d(PJ_XY xy, PJ *P, PJ_LP lpInitial) { return lp; } - if (fabs(deltaX) > 1e-6 || fabs(deltaY) > 1e-6) { + if (i == 0 || fabs(deltaX) > 1e-6 || fabs(deltaY) > 1e-6) { // Compute Jacobian matrix (only if we aren't close to the final // result to speed things a bit) PJ_LP lp2; |
