Skip to content
GitLab
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
a5e9f035
Commit
a5e9f035
authored
Oct 18, 2019
by
Uwe Schulzweida
Browse files
vfldavg: replaced varrayMeanMV() by varrayAvgMV() (bug fix).
parent
328c51f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/Fldstat.cc
View file @
a5e9f035
...
...
@@ -33,7 +33,6 @@
#include
<cdi.h>
#include
"cdo_options.h"
#include
"functs.h"
#include
"process_int.h"
...
...
@@ -43,6 +42,7 @@
#include
"pmlist.h"
#include
"cdo_zaxis.h"
static
void
print_location_LL
(
int
operfunc
,
int
vlistID
,
int
varID
,
int
levelID
,
int
gridID
,
double
sglval
,
const
Varray
<
double
>
&
fieldvec
,
int64_t
vdate
,
int
vtime
)
...
...
src/Gridboxstat.cc
View file @
a5e9f035
...
...
@@ -32,7 +32,6 @@
#include
<cdi.h>
#include
"functs.h"
#include
"process_int.h"
#include
"param_conversion.h"
...
...
@@ -41,6 +40,7 @@
#include
"progress.h"
#include
"cimdOmp.h"
static
void
genBoxGridReg2D
(
int
gridID1
,
size_t
xinc
,
size_t
yinc
,
int
gridID2
)
{
...
...
src/field.cc
View file @
a5e9f035
...
...
@@ -169,7 +169,7 @@ vfldmeanw(const Field &field)
double
vfldavg
(
const
Field
&
field
)
{
return
field
.
nmiss
?
varray
Mean
MV
(
field
.
size
,
field
.
vec
,
field
.
missval
)
:
varrayMean
(
field
.
size
,
field
.
vec
);
return
field
.
nmiss
?
varray
Avg
MV
(
field
.
size
,
field
.
vec
,
field
.
missval
)
:
varrayMean
(
field
.
size
,
field
.
vec
);
}
double
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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