mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-15 02:18:33 +05:00
Fix seg/trig intersection tolerance
This commit is contained in:
parent
0a2479bf00
commit
e7e15069f3
@ -416,7 +416,7 @@ struct GrowthVectorLimiter
|
||||
SolveLinearSystem(col1, col2, col3, rhs, bary);
|
||||
|
||||
intersection.lam1 = 0;
|
||||
double eps = 0.1;
|
||||
double eps = 1e-4;
|
||||
if (bary.X() >= -eps && bary.Y() >= -eps && bary.X() + bary.Y() <= 1 + eps)
|
||||
{
|
||||
intersection.bary[0] = bary.X();
|
||||
|
Loading…
Reference in New Issue
Block a user