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/pj_mlfn.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/pj_mlfn.c')
| -rw-r--r-- | src/pj_mlfn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pj_mlfn.c b/src/pj_mlfn.c index d62bd485..aeab6117 100644 --- a/src/pj_mlfn.c +++ b/src/pj_mlfn.c @@ -40,7 +40,7 @@ pj_mlfn(double phi, double sphi, double cphi, double *en) { + sphi*(en[3] + sphi*en[4])))); } double -pj_inv_mlfn(double arg, double es, double *en) { +pj_inv_mlfn(projCtx ctx, double arg, double es, double *en) { double s, t, phi, k = 1./(1.-es); int i; @@ -52,6 +52,6 @@ pj_inv_mlfn(double arg, double es, double *en) { if (fabs(t) < EPS) return phi; } - pj_errno = -17; + pj_ctx_set_errno( ctx, -17 ); return phi; } |
