Skip to content

Commit 05d0438

Browse files
authored
Fix OPENBLAS_LOOPS assignment
1 parent b4a1153 commit 05d0438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/getri.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ int main(int argc, char *argv[]){
9292

9393
if ((p = getenv("OPENBLAS_TEST"))) btest=*p;
9494

95-
if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
95+
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);
9696

9797
fprintf(stderr, "From : %3d To : %3d Step = %3d\n", from, to, step);
9898

0 commit comments

Comments
 (0)