Skip to content

Commit

Permalink
revert accidental changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Sep 30, 2023
1 parent 60ff587 commit 2dba455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ static __inline int num_cpu_avail(int level) {

#ifdef USE_OPENMP
int openmp_nthreads;
openmp_nthreads=omp_get_max_threads(void);
openmp_nthreads=omp_get_max_threads();
#endif

#ifndef USE_OPENMP
if (blas_cpu_number == 1
#endif
#ifdef USE_OPENMP
if (openmp_nthreads == 1 || omp_in_parallel(void)
if (openmp_nthreads == 1 || omp_in_parallel()
#endif
) return 1;

Expand Down

0 comments on commit 2dba455

Please sign in to comment.