Skip to content

Commit fe39c89

Browse files
authored
Fix OPENBLAS_LOOPS assignment
1 parent ffcbaca commit fe39c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/potrf.c

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

121121
if ((p = getenv("OPENBLAS_TEST"))) btest=*p;
122122

123-
if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
123+
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);
124124

125125
fprintf(stderr, "From : %3d To : %3d Step = %3d Uplo = %c\n", from, to, step,*uplo[uplos]);
126126

0 commit comments

Comments
 (0)