Update common_thread.h

This commit is contained in:
Martin Kroeker 2020-11-17 20:57:16 +01:00 committed by GitHub
parent 1592c1f708
commit 8917203ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ static __inline int num_cpu_avail(int level) {
goto_set_num_threads(openmp_nthreads);
}
#endif
if (blas_cpu_number > MAX_CPU_NUMBER) blas_cpu_number=MAX_CPU_NUMBER;
return blas_cpu_number;
}