Skip to content

Commit

Permalink
Upgraded standalone executable tomatch python
Browse files Browse the repository at this point in the history
  • Loading branch information
tjof2 committed May 18, 2016
1 parent 07cab03 commit 7c2f439
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib-PGURE-SVT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ extern "C" int PGURESVT(double *X,
std::cout<<"Version 0.3.2 - May 2016"<<std::endl<<std::endl;

// Set up OMP
omp_set_dynamic(0);
omp_set_num_threads(numthreads);
#if defined(_OPENMP)
omp_set_dynamic(0);
omp_set_num_threads(numthreads);
#endif

int NoiseMethod = 4;
double lambda = (userLambda >= 0.) ? userLambda : 0.;
Expand Down

0 comments on commit 7c2f439

Please sign in to comment.