From: jgv Date: Wed, 7 Oct 2015 10:03:11 +0000 (+0300) Subject: Minor correction. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=db80ca367056de3b788b746077224c2d87d18459;p=occt-copy.git Minor correction. --- diff --git a/src/IntWalk/IntWalk_IWalking_5.gxx b/src/IntWalk/IntWalk_IWalking_5.gxx index add2bca0c6..8ced2d2c19 100644 --- a/src/IntWalk/IntWalk_IWalking_5.gxx +++ b/src/IntWalk/IntWalk_IWalking_5.gxx @@ -121,8 +121,8 @@ IntWalk_StatusDeflection IntWalk_IWalking::TestDeflection if (CurNbPoints == 1 && Status == IntWalk_OK && !ArretAjout && !OnPrevTangency) { - tolerance(1) = Du/2.; - tolerance(2) = Dv/2.; + tolerance(1) = Abs(Du)/2.; + tolerance(2) = Abs(Dv)/2.; if (tolerance(1) <= gp::Resolution()) tolerance(1) = tolerance(2); if (tolerance(2) <= gp::Resolution())