aboutsummaryrefslogtreecommitdiff
path: root/src/gauss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gauss.cpp')
-rw-r--r--src/gauss.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gauss.cpp b/src/gauss.cpp
index 2db713ad..d7354bdc 100644
--- a/src/gauss.cpp
+++ b/src/gauss.cpp
@@ -28,6 +28,7 @@
#include <math.h>
#include <stdlib.h>
+#include "proj.h"
#include "projects.h"
#define MAX_ITER 20
@@ -70,9 +71,9 @@ void *pj_gauss_ini(double e, double phi0, double *chi, double *rc) {
return ((void *)en);
}
-LP pj_gauss(projCtx ctx, LP elp, const void *data) {
+PJ_LP pj_gauss(projCtx ctx, PJ_LP elp, const void *data) {
const struct GAUSS *en = (const struct GAUSS *)data;
- LP slp;
+ PJ_LP slp;
(void) ctx;
slp.phi = 2. * atan( en->K *
@@ -82,9 +83,9 @@ LP pj_gauss(projCtx ctx, LP elp, const void *data) {
return(slp);
}
-LP pj_inv_gauss(projCtx ctx, LP slp, const void *data) {
+PJ_LP pj_inv_gauss(projCtx ctx, PJ_LP slp, const void *data) {
const struct GAUSS *en = (const struct GAUSS *)data;
- LP elp;
+ PJ_LP elp;
double num;
int i;