Skip to content

Commit ffcbaca

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/linpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ int main(int argc, char *argv[]){
8585
double time1, time2, timeg1,timeg2;
8686

8787
char *p;
88-
if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
88+
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);
8989

9090
argc--;argv++;
9191

0 commit comments

Comments
 (0)