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_hgridshift.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_hgridshift.c')
| -rw-r--r-- | src/PJ_hgridshift.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PJ_hgridshift.c b/src/PJ_hgridshift.c index 26a2f471..d57af697 100644 --- a/src/PJ_hgridshift.c +++ b/src/PJ_hgridshift.c @@ -105,8 +105,9 @@ int pj_hgridshift_selftest (void) { a = proj_coord (0,0,0,0); a.lpz.lam = PJ_TORAD(173); a.lpz.phi = PJ_TORAD(-45); + b = a; - dist = proj_roundtrip (P, PJ_FWD, 1, a); + dist = proj_roundtrip (P, PJ_FWD, 1, &b); if (dist > 0.00000001) { printf("dist: %f\n",dist); return 1; |
