Skip to content

Commit

Permalink
Minor comment corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
kbevers committed Mar 27, 2017
1 parent dbd0f36 commit ef72c14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/PJ_hgridshift.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int pj_hgridshift_selftest (void) {
PJ_OBS expect, a, b;
double dist;

/* fail on purpose: +grids parameter it mandatory*/
/* fail on purpose: +grids parameter is mandatory*/
P = pj_create("+proj=hgridshift");
if (0!=P)
return 99;
Expand All @@ -118,9 +118,9 @@ int pj_hgridshift_selftest (void) {
return 999;


/* Failure most likely means the grid is missing */
P = pj_create ("+proj=hgridshift +grids=nzgd2kgrid0005.gsb +ellps=GRS80");
if (0==P)
/* very likely the grid is missing */
return 10;

a = pj_obs_null;
Expand Down
2 changes: 1 addition & 1 deletion src/PJ_vgridshift.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ int pj_vgridshift_selftest (void) {
if (0!=P)
return 999;

/* Failure most likely means the grid is missing */
P = pj_create ("+proj=vgridshift +grids=egm96_15.gtx +ellps=GRS80");
if (0==P)
/* most likely the grid wasn't found */
return 10;

a = pj_obs_null;
Expand Down

0 comments on commit ef72c14

Please sign in to comment.