Commit e95d3c30 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

added if(maxrecs>1) to omp parallel

parent c01677d2
......@@ -446,7 +446,7 @@ void *XTimstat(void *argument)
if ( lmean )
{
#if defined(_OPENMP)
#pragma omp parallel for default(none) shared(nsets, maxrecs, recinfo, vars1, samp1) if(maxrecs>1) if(maxrecs>1)
#pragma omp parallel for default(none) shared(nsets, maxrecs, recinfo, vars1, samp1) if(maxrecs>1)
#endif
for ( int recID = 0; recID < maxrecs; recID++ )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment