Skip to content
Snippets Groups Projects
Commit 53e55c07 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix warn

parent 9c75474e
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ PView* GMSH_GaussPointsPlugin::execute(PView *v)
else{
m->getEntities(entities, dim);
}
if(entities.empty()){
Msg::Error("No entities");
return v;
......@@ -73,7 +73,7 @@ PView* GMSH_GaussPointsPlugin::execute(PView *v)
double u = gp[i].pt[0];
double v = gp[i].pt[1];
double w = gp[i].pt[2];
double weight = gp[i].weight;
//double weight = gp[i].weight;
SPoint3 p;
e->pnt(u, v, w, p);
data2->SP.push_back(p.x());
......@@ -91,4 +91,3 @@ PView* GMSH_GaussPointsPlugin::execute(PView *v)
return v;
}
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