From 9a79c9529a577a0d67e710ab4eeaf6b73cbc58f9 Mon Sep 17 00:00:00 2001 From: ika Date: Tue, 16 Oct 2012 18:10:31 +0400 Subject: [PATCH] 0023145: Suspicious else (2) else statement was incorrect, is has been changed. --- src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx b/src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx index 112b187fb5..f851dfea8f 100755 --- a/src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx +++ b/src/LocalAnalysis/LocalAnalysis_SurfaceContinuity.cxx @@ -62,10 +62,10 @@ void LocalAnalysis_SurfaceContinuity::SurfC1( GeomLProp_SLProps& Surf1, &&(norm2v>myepsnul)) { if (norm1u >= norm2u ) myLambda1U= norm2u / norm1u; - else myLambda1U = norm2u / norm1u; + else myLambda1U = norm1u / norm2u; if (norm1v >= norm2v ) myLambda1V= norm2v / norm1v; - else myLambda1V = norm2v / norm1v; + else myLambda1V = norm1v / norm2v; angu= V1u.Angle(V2u); if (angu>M_PI/2) myContC1U=M_PI-angu; else myContC1U=angu;