aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_spherical_harmonics/legendre_a.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtx_spherical_harmonics/legendre_a.c')
-rw-r--r--src/mtx_spherical_harmonics/legendre_a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mtx_spherical_harmonics/legendre_a.c b/src/mtx_spherical_harmonics/legendre_a.c
index a0762b1..a6c2aa5 100644
--- a/src/mtx_spherical_harmonics/legendre_a.c
+++ b/src/mtx_spherical_harmonics/legendre_a.c
@@ -34,7 +34,7 @@ static void legendre_first_recurrence (double *sintheta, LegendreWorkSpace *wl)
}
static void legendre_second_recurrence (double *costheta, LegendreWorkSpace *wl) {
- int m,n,l,l0;
+ unsigned int m,n,l,l0;
int nmt0=-1;
int nmo0=0;
int n0=1;
@@ -88,7 +88,7 @@ void legendre_a_free(LegendreWorkSpace *wl) {
}
void legendre_a(double *theta, LegendreWorkSpace *wl) {
- int l,l0;
+ unsigned int l,l0;
const int incr=(wl->nmax+1)*(wl->nmax+2)/2;
double *costheta;
double *sintheta;