mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
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:
commit
ca18038c5d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user