fixes and cleanups

This commit is contained in:
Martin Reinecke 2018-12-17 15:08:51 +01:00
parent 8c98d4624e
commit ac3bf55ac5
3 changed files with 54 additions and 120 deletions

View file

@ -588,7 +588,7 @@ NOINLINE static void alm2almtmp (sharp_job *job, int lmax, int mi)
}
else
memset (job->almtmp+job->nalm*job->ainfo->mval[mi], 0,
job->nalm*(lmax+1-job->ainfo->mval[mi])*sizeof(dcmplx));
job->nalm*(lmax+2-job->ainfo->mval[mi])*sizeof(dcmplx));
#undef COPY_LOOP
}