diff options
Diffstat (limited to 'src/PJ_unitconvert.c')
| -rw-r--r-- | src/PJ_unitconvert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_unitconvert.c b/src/PJ_unitconvert.c index 06723399..7ce6035c 100644 --- a/src/PJ_unitconvert.c +++ b/src/PJ_unitconvert.c @@ -412,7 +412,7 @@ int pj_unitconvert_selftest (void) {return 0;} static int test_time(char* args, double tol, double t_in, double t_exp) { PJ_OBS in, out; - PJ *P = proj_create(0, args); + PJ *P = proj_create(PJ_DEFAULT_CTX, args); int ret = 0; if (P == 0) @@ -438,7 +438,7 @@ static int test_time(char* args, double tol, double t_in, double t_exp) { static int test_xyz(char* args, double tol, PJ_TRIPLET in, PJ_TRIPLET exp) { PJ_OBS out, obs_in; - PJ *P = proj_create(0, args); + PJ *P = proj_create(PJ_DEFAULT_CTX, args); int ret = 0; if (P == 0) |
