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

vfldavg: replaced varrayMeanMV() by varrayAvgMV() (bug fix).

parent 328c51f9
......@@ -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)
......
......@@ -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)
{
......
......@@ -169,7 +169,7 @@ vfldmeanw(const Field &field)
double
vfldavg(const Field &field)
{
return field.nmiss ? varrayMeanMV(field.size, field.vec, field.missval) : varrayMean(field.size, field.vec);
return field.nmiss ? varrayAvgMV(field.size, field.vec, field.missval) : varrayMean(field.size, field.vec);
}
double
......
Markdown is supported
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