Skip to content

Commit

Permalink
some PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jjimenezshaw committed Feb 17, 2025
1 parent b6612a4 commit b24d990
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 3,224 deletions.
1 change: 0 additions & 1 deletion src/latitudes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <math.h>

#include "proj.h"
#include "proj_internal.h"

/*****************************************************************************/
Expand Down
8 changes: 4 additions & 4 deletions src/projections/spilhaus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct pj_spilhaus_data {

} // anonymous namespace

static PJ_XY spilhaus_s_forward(PJ_LP lp, PJ *P) {
static PJ_XY spilhaus_forward(PJ_LP lp, PJ *P) {
PJ_XY xy = {0.0, 0.0};
struct pj_spilhaus_data *Q =
static_cast<struct pj_spilhaus_data *>(P->opaque);
Expand Down Expand Up @@ -74,7 +74,7 @@ static PJ_XY spilhaus_s_forward(PJ_LP lp, PJ *P) {
return xy;
}

static PJ_LP spilhaus_s_inverse(PJ_XY xy, PJ *P) {
static PJ_LP spilhaus_inverse(PJ_XY xy, PJ *P) {
PJ_LP lp = {0.0, 0.0};
struct pj_spilhaus_data *Q =
static_cast<struct pj_spilhaus_data *>(P->opaque);
Expand Down Expand Up @@ -155,8 +155,8 @@ PJ *PJ_PROJECTION(spilhaus) {
cos(lat_center) / sqrt(1 - P->es * sin(lat_center) * sin(lat_center)) /
cos(conformal_lat_center);

P->fwd = spilhaus_s_forward;
P->inv = spilhaus_s_inverse;
P->fwd = spilhaus_forward;
P->inv = spilhaus_inverse;

return P;
}
Loading

0 comments on commit b24d990

Please sign in to comment.