diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2010-06-11 03:26:04 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2010-06-11 03:26:04 +0000 |
| commit | cf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8 (patch) | |
| tree | c7e18dad05709f747a2aaccb21da844ae6b43f24 /src/proj_mdist.c | |
| parent | 02b4b8db7f5d3ce59baca4a38b8059538ccf3217 (diff) | |
| download | PROJ-cf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8.tar.gz PROJ-cf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8.zip | |
roll projCtx through various other low level functions
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1856 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/proj_mdist.c')
| -rw-r--r-- | src/proj_mdist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proj_mdist.c b/src/proj_mdist.c index 9e14a37e..9c588a27 100644 --- a/src/proj_mdist.c +++ b/src/proj_mdist.c @@ -102,7 +102,7 @@ proj_mdist(double phi, double sphi, double cphi, const void *b) { return(D + sc * sum); } double -proj_inv_mdist(double dist, const void *b) { +proj_inv_mdist(projCtx ctx, double dist, const void *b) { double s, t, phi, k; int i; @@ -118,6 +118,6 @@ proj_inv_mdist(double dist, const void *b) { return phi; } /* convergence failed */ - pj_errno = -17; + pj_ctx_set_errno(ctx, -17); return phi; } |
