1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

OCC22324 Mistakes with parenthesis position in abs calls

This commit is contained in:
SZY
2011-04-28 15:02:22 +00:00
committed by bugmaster
parent c80dc6c3f4
commit 82ac7cbbe7
3 changed files with 6 additions and 5 deletions

View File

@@ -121,7 +121,7 @@ void GeomFill_BoundWithSurf::D1Norm(const Standard_Real U,
Standard_Real nsuu = N.Dot(Suu), nsuv = N.Dot(Suv), nsvv = N.Dot(Svv);
Standard_Real susu = Su.Dot(Su), susv = Su.Dot(Sv), svsv = Sv.Dot(Sv);
Standard_Real deno = (susu*svsv) - (susv*susv);
if(Abs(deno < 1.e-16)){
if(Abs(deno) < 1.e-16) {
// on embraye sur un calcul approche, c est mieux que rien!?!
gp_Vec temp = Norm(U + 1.e-12);
DN = N.Multiplied(-1.);