mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +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;
|
return false;
|
||||||
lami[0] = lam[0];
|
lami[0] = lam[0];
|
||||||
lami[1] = lam[1];
|
lami[1] = lam[1];
|
||||||
|
if(lami[0] < -eps || lami[0] > 1+eps || lami[1] < -eps || lami[1] > 1+eps)
|
||||||
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user