diff --git a/src/gridtools/FindContourSurface.cpp b/src/gridtools/FindContourSurface.cpp index f12c363961e818757145f778bc61e04cd20fb9fe..d2cdac39d64395a2b45dc52ef41bd11c09289077 100644 --- a/src/gridtools/FindContourSurface.cpp +++ b/src/gridtools/FindContourSurface.cpp @@ -209,7 +209,7 @@ void FindContourSurface::finishAveraging() { } void FindContourSurface::compute( const unsigned& current, MultiValue& myvals ) const { - std::vector<unsigned> neighbours; unsigned num_neighbours; unsigned nfound=0; double minv=0, minp=0; + std::vector<unsigned> neighbours; unsigned num_neighbours; unsigned nfound=0; double minp=0; std::vector<unsigned> bins_n( ingrid->getNbin() ); unsigned shiftn=current; std::vector<unsigned> ind( ingrid->getDimension() ); std::vector<double> point( ingrid->getDimension() ); #ifndef DNDEBUG diff --git a/src/gridtools/GridVessel.cpp b/src/gridtools/GridVessel.cpp index 3bacfa1b8980c38b7b1463014fd38073b2bfa633..fcaddbc8d5e569d89c8a5ade60e96b05316f89da 100644 --- a/src/gridtools/GridVessel.cpp +++ b/src/gridtools/GridVessel.cpp @@ -38,10 +38,10 @@ void GridVessel::registerKeywords( Keywords& keys ) { GridVessel::GridVessel( const vesselbase::VesselOptions& da ): AveragingVessel(da), bounds_set(false), - cube_units(1.0), - noderiv(false), npoints(0), - wasforced(false) + cube_units(1.0), + wasforced(false), + noderiv(false) { std::string geom; parse("TYPE",geom); if( geom=="flat" ) gtype=flat;