make interface a litle bit nicer (no need for casts to void **)

This commit is contained in:
Martin Reinecke 2012-09-17 16:03:37 +02:00
parent c459e08b48
commit b0530c9a4b
9 changed files with 784 additions and 35 deletions

View file

@ -73,8 +73,8 @@ static void bench_sht (int spin, int nv, sharp_jobtype type,
{
double jtime;
unsigned long long jopcnt;
sharp_execute(type,spin,0,(void **)(&alm[0]),(void **)(&map[0]),tinfo,alms,
ntrans,1,nv,&jtime,&jopcnt);
sharp_execute(type,spin,0,&alm[0],&map[0],tinfo,alms,ntrans,1,nv,&jtime,
&jopcnt);
if (jopcnt<*opcnt) *opcnt=jopcnt;
if (jtime<*time) *time=jtime;