aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_horner.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_horner.c')
-rw-r--r--src/PJ_horner.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/PJ_horner.c b/src/PJ_horner.c
index c6560d3a..a9a618c7 100644
--- a/src/PJ_horner.c
+++ b/src/PJ_horner.c
@@ -94,7 +94,7 @@ PROJ_HEAD(horner, "Horner polynomial evaluation");
struct horner;
typedef struct horner HORNER;
-static UV horner (const HORNER *transformation, enum proj_direction, UV position);
+static UV horner (const HORNER *transformation, PJ_DIRECTION direction, UV position);
static HORNER *horner_alloc (size_t order, int complex_polynomia);
static void horner_free (HORNER *h);
@@ -178,7 +178,7 @@ static HORNER *horner_alloc (size_t order, int complex_polynomia) {
/**********************************************************************/
-static UV horner (const HORNER *transformation, enum proj_direction direction, UV position) {
+static UV horner (const HORNER *transformation, PJ_DIRECTION direction, UV position) {
/***********************************************************************
A reimplementation of the classic Engsager/Poder 2D Horner polynomial
@@ -303,7 +303,7 @@ static PJ_OBS horner_reverse_obs (PJ_OBS point, PJ *P) {
/**********************************************************************/
-static UV complex_horner (const HORNER *transformation, enum proj_direction direction, UV position) {
+static UV complex_horner (const HORNER *transformation, PJ_DIRECTION direction, UV position) {
/***********************************************************************
A reimplementation of a classic Engsager/Poder Horner complex
@@ -529,7 +529,7 @@ int pj_horner_selftest (void) {
double dist;
/* Real polynonia relating the technical coordinate system TC32 to "System 45 Bornholm" */
- P = proj_create (0, tc32_utm32);
+ P = proj_create (PJ_DEFAULT_CTX, tc32_utm32);
if (0==P)
return 10;
@@ -543,7 +543,7 @@ int pj_horner_selftest (void) {
return 1;
/* The complex polynomial transformation between the "System Storebaelt" and utm32/ed50 */
- P = proj_create (0, sb_utm32);
+ P = proj_create (PJ_DEFAULT_CTX, sb_utm32);
if (0==P)
return 11;