Commit 4eabe06b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed include <vector>.

parent 26c387ef
......@@ -35,7 +35,6 @@
Remap remap SCRIP grid remapping
*/
#include <vector>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
......
......@@ -21,7 +21,6 @@
*/
#include <vector>
#include "hetaeta.h"
#include <cdi.h>
#include "cdo.h"
......
#include <vector>
#include <cdi.h>
#include "cdo_int.h"
#include "grid.h"
......
......@@ -28,7 +28,6 @@
*/
#include <vector>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
......
......@@ -446,10 +446,9 @@ void *Timstat(void *argument)
if ( irun )
{
nmiss = 0;
pvars1->nmiss = 0;
for ( int i = 0; i < nwpv*gridsize; ++i )
if ( DBL_IS_EQUAL(pvars1->ptr[i], missval) ) nmiss++;
pvars1->nmiss = (size_t)nmiss;
if ( DBL_IS_EQUAL(pvars1->ptr[i], missval) ) pvars1->nmiss++;
}
}
}
......@@ -473,7 +472,7 @@ void *Timstat(void *argument)
if ( otsID && vlistInqVarTsteptype(vlistID1, varID) == TSTEP_CONSTANT ) continue;
pstreamDefRecord(streamID2, varID, levelID);
pstreamWriteRecord(streamID2, pvars1->ptr, (int)pvars1->nmiss);
pstreamWriteRecord(streamID2, pvars1->ptr, pvars1->nmiss);
if ( cdoDiag )
{
......
......@@ -23,7 +23,6 @@
*/
#include <vector>
#include <cdi.h>
#include "cdo.h"
#include "cdo_int.h"
......
......@@ -30,7 +30,6 @@
#include <regex>
#include <set>
#include <string>
#include <vector>
// for std::sort()
#include <algorithm>
......
#include <vector>
#include "cdo.h"
#include "cdo_int.h"
#include "grid.h"
......
......@@ -2,7 +2,6 @@
# include "config.h"
#endif
#include <vector>
#include <limits.h>
#include <time.h>
......
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