make interface a litle bit nicer (no need for casts to void **)
This commit is contained in:
parent
c459e08b48
commit
b0530c9a4b
9 changed files with 784 additions and 35 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue