diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-11-12 14:27:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-12 14:27:26 +0100 |
| commit | 1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a (patch) | |
| tree | f646ba412b086f8488c21d519cf832c01dd49d42 /src/PJ_horner.c | |
| parent | 667d59e50fc594cfa08c8d7949372c961fdca940 (diff) | |
| download | PROJ-1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a.tar.gz PROJ-1d54ce2b6f47b9d60bfd28ad0d33a883be3d510a.zip | |
Poder autochecking again (WIP) (#652)
* Poder dual autochecking implementation
* Debugging aid: Improvements in PJ_vgridshift.c and gie.c
* Most likely, the bugbeing tripped is in the gridshift code, so. uncomment suspicious lines in deformation.gie and merge this to support the debugging effort
Diffstat (limited to 'src/PJ_horner.c')
| -rw-r--r-- | src/PJ_horner.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PJ_horner.c b/src/PJ_horner.c index c28e3907..51c271ae 100644 --- a/src/PJ_horner.c +++ b/src/PJ_horner.c @@ -529,9 +529,10 @@ int pj_horner_selftest (void) { a = b = proj_coord (0,0,0,0); a.uv.v = 6125305.4245; a.uv.u = 878354.8539; + c = a; /* Check roundtrip precision for 1 iteration each way, starting in forward direction */ - dist = proj_roundtrip (P, PJ_FWD, 1, a); + dist = proj_roundtrip (P, PJ_FWD, 1, &c); if (dist > 0.01) return 1; @@ -560,7 +561,7 @@ int pj_horner_selftest (void) { return 3; /* Check roundtrip precision for 1 iteration each way */ - dist = proj_roundtrip (P, PJ_FWD, 1, a); + dist = proj_roundtrip (P, PJ_FWD, 1, &a); if (dist > 0.01) return 4; |
