Skip to content
Snippets Groups Projects
Commit 4a20a9cc authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

fixed warnings

parent 1f4b2ca1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment