mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
add missing check for lam range in PointContainedIn2DElement in Quad
This commit is contained in:
parent
9180f9b972
commit
b12d40a0c0
@ -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