Merge branch 'fix_findpointin2d_quad' into 'master'

add missing check for lam range in PointContainedIn2DElement in Quad

See merge request ngsolve/netgen!565
This commit is contained in:
Schöberl, Joachim 2023-04-12 09:51:49 +02:00
commit ca18038c5d

View File

@ -5311,6 +5311,8 @@ namespace netgen
return false;
lami[0] = lam[0];
lami[1] = lam[1];
if(lami[0] < -eps || lami[0] > 1+eps || lami[1] < -eps || lami[1] > 1+eps)
return false;
return true;
}