fix missing return value

This commit is contained in:
mhochsteger@cerbsim.com 2022-03-07 20:57:36 +01:00
parent 5272106a9c
commit 0a99c169b6

View File

@ -251,6 +251,7 @@ namespace netgen
{ {
if(surfind > 0 && surfind <= faces.Size()) if(surfind > 0 && surfind <= faces.Size())
return faces[surfind-1]->ProjectPointGI(p, gi); return faces[surfind-1]->ProjectPointGI(p, gi);
return true;
} }
virtual Vec<3> GetNormal(int surfind, const Point<3> & p, const PointGeomInfo* gi = nullptr) const virtual Vec<3> GetNormal(int surfind, const Point<3> & p, const PointGeomInfo* gi = nullptr) const