aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_vgridshift.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_vgridshift.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_vgridshift.c')
-rw-r--r--src/PJ_vgridshift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_vgridshift.c b/src/PJ_vgridshift.c
index d58972f4..ededd544 100644
--- a/src/PJ_vgridshift.c
+++ b/src/PJ_vgridshift.c
@@ -118,7 +118,7 @@ int pj_vgridshift_selftest (void) {
a.coo.lpz.lam = PJ_TORAD(12.5);
a.coo.lpz.phi = PJ_TORAD(55.5);
- dist = proj_roundtrip (P, PJ_FWD, 1, a);
+ dist = proj_roundtrip (P, PJ_FWD, 1, a.coo);
if (dist > 0.00000001)
return 1;