Skip to content

Commit

Permalink
fix for debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
ss3git committed Nov 16, 2023
1 parent 6d3132a commit 99d4396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src_sinc.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,9 @@ sinc_multithread_vari_process(SRC_STATE *state, SRC_DATA *data)
omp_set_dynamic(0);
omp_set_num_threads(num_of_threads);

assert(num_of_threads == omp_get_num_threads());
//assert(num_of_threads == omp_get_max_threads());

if (num_of_threads == 1) // w/o OpenMP
if (num_of_threads == 1 || omp_get_max_threads() == 1 ) // w/o OpenMP
{
per_thread_retval[0] = _sinc_multichan_vari_process_mt(1, 0, state, data, state);

Expand Down

0 comments on commit 99d4396

Please sign in to comment.