diff options
Diffstat (limited to 'src/mtx_spherical_harmonics/sharmonics.c')
-rw-r--r-- | src/mtx_spherical_harmonics/sharmonics.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mtx_spherical_harmonics/sharmonics.c b/src/mtx_spherical_harmonics/sharmonics.c index dbfcb18..e3416e5 100644 --- a/src/mtx_spherical_harmonics/sharmonics.c +++ b/src/mtx_spherical_harmonics/sharmonics.c @@ -22,8 +22,8 @@ // ly0 and lp0 denote the starting position for one vertex in the arrays // see below to find out how the data is arranged static void sharmonics_initlegendrenormlzd(SHWorkSpace *ws) { - int n,m,ny0,np0; - int l,ly0,lp0; + unsigned int n,m,ny0,np0; + unsigned int l,ly0,lp0; const int pincr=(ws->nmax+1)*(ws->nmax+2)/2; const int yincr=(ws->nmax+1)*(ws->nmax+1); @@ -49,9 +49,9 @@ static void sharmonics_initlegendrenormlzd(SHWorkSpace *ws) { // ly0 and lt0 denote the starting position for one vertex in the arrays // see below to find out how the data is arranged static void sharmonics_multcheby12(SHWorkSpace *ws) { - int n,m,ny0; + unsigned int n,m,ny0; const int nt0=ws->nmax; - int l,ly0,lt0; + unsigned int l,ly0,lt0; const int tincr=2*ws->nmax+1; const int yincr=(ws->nmax+1)*(ws->nmax+1); |