diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2016-06-01 21:49:36 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2016-06-01 21:49:36 +0200 |
| commit | 7e2254310615a2830e1ecfd5d7538227b01d5657 (patch) | |
| tree | 4263bc2ff9b8bec1a42e3903ef791db0c822653b /src/PJ_cc.c | |
| parent | 808d6383ba175b05ac80ec9bf0daad77c36cf4be (diff) | |
| parent | 05f802717a9f4e1d25754c94d518ebdd9ae5eb61 (diff) | |
| download | PROJ-7e2254310615a2830e1ecfd5d7538227b01d5657.tar.gz PROJ-7e2254310615a2830e1ecfd5d7538227b01d5657.zip | |
Merge pull request #387 from micahcochran/math_constants2
Change math constants, similar to PR #372. Use M_ namespace with theā¦
Diffstat (limited to 'src/PJ_cc.c')
| -rw-r--r-- | src/PJ_cc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_cc.c b/src/PJ_cc.c index 475fbae4..34194418 100644 --- a/src/PJ_cc.c +++ b/src/PJ_cc.c @@ -7,7 +7,7 @@ PROJ_HEAD(cc, "Central Cylindrical") "\n\tCyl, Sph"; static XY s_forward (LP lp, PJ *P) { /* Spheroidal, forward */ XY xy = {0.0,0.0}; - if (fabs (fabs(lp.phi) - HALFPI) <= EPS10) F_ERROR; + if (fabs (fabs(lp.phi) - M_HALFPI) <= EPS10) F_ERROR; xy.x = lp.lam; xy.y = tan(lp.phi); return xy; |
