Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
e95d3c30
Commit
e95d3c30
authored
Nov 13, 2015
by
Uwe Schulzweida
Browse files
added if(maxrecs>1) to omp parallel
parent
c01677d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/XTimstat.c
View file @
e95d3c30
...
...
@@ -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
++
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment