aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_hgridshift.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2017-10-06 22:21:55 +0200
committerThomas Knudsen <thokn@sdfe.dk>2017-10-06 22:21:55 +0200
commitefa741bafb0f40d4d7b7f9138292f15965ed5d75 (patch)
tree5e4c63127847b2d6bf6d94fb5a8512887a5a4ebf /src/PJ_hgridshift.c
parent03123018ea7090b992430ce8dd4fa6980f04d0d3 (diff)
downloadPROJ-efa741bafb0f40d4d7b7f9138292f15965ed5d75.tar.gz
PROJ-efa741bafb0f40d4d7b7f9138292f15965ed5d75.zip
Switch proj_roundtrip to accept PJ_COORD, rather than PJ_OBS, and make it do proper geodesic distances for forward roundtrips
Diffstat (limited to 'src/PJ_hgridshift.c')
-rw-r--r--src/PJ_hgridshift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_hgridshift.c b/src/PJ_hgridshift.c
index 1b65b1bd..0adc9e00 100644
--- a/src/PJ_hgridshift.c
+++ b/src/PJ_hgridshift.c
@@ -136,7 +136,7 @@ int pj_hgridshift_selftest (void) {
a.coo.lpz.lam = PJ_TORAD(173);
a.coo.lpz.phi = PJ_TORAD(-45);
- dist = proj_roundtrip (P, PJ_FWD, 1, a);
+ dist = proj_roundtrip (P, PJ_FWD, 1, a.coo);
if (dist > 0.00000001)
return 1;