Skip to content

Commit

Permalink
Fixed rHealpix projection, closing OSGeo#1206.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Dec 21, 2018
1 parent f3134c2 commit 63f8580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PJ_healpix.c
Expand Up @@ -500,7 +500,7 @@ static XY combine_caps(double x, double y, int north_square, int south_square,
/* Workaround cppcheck git issue */
double* pa = a;
pa[0] = -3*M_FORTPI + ((inverse == 0) ? 0 : capmap.cn) *M_HALFPI;
pa[1] = M_HALFPI;
pa[1] = ((capmap.region == north) ? 1 : -1) *M_HALFPI;
vector_add(ret_dot, a, vector);
}

Expand Down

0 comments on commit 63f8580

Please sign in to comment.