From db80ca367056de3b788b746077224c2d87d18459 Mon Sep 17 00:00:00 2001 From: jgv Date: Wed, 7 Oct 2015 13:03:11 +0300 Subject: [PATCH] Minor correction. --- src/IntWalk/IntWalk_IWalking_5.gxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) -- 2.39.5