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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mtx_spherical_harmonics/legendre_a.c b/src/mtx_spherical_harmonics/legendre_a.c
index a6c2aa5..aa42949 100644
--- a/src/mtx_spherical_harmonics/legendre_a.c
+++ b/src/mtx_spherical_harmonics/legendre_a.c
@@ -17,7 +17,8 @@
#include "mtx_spherical_harmonics/legendre_a.h"
static void legendre_first_recurrence (double *sintheta, LegendreWorkSpace *wl) {
- int n,l,l0;
+ int n;
+ unsigned int l,l0;
int nmo0=0;
int n0=1;
const int incr=(wl->nmax+1)*(wl->nmax+2)/2;