Skip to content

Commit 3f1ec74

Browse files
authored
Fix OPENBLAS_LOOPS assignment
1 parent fe39c89 commit 3f1ec74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/syr2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int main(int argc, char *argv[]){
5454
int step = 1;
5555
int loops = 1;
5656

57-
if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
57+
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);
5858

5959
double time1,timeg;
6060

0 commit comments

Comments
 (0)