[SCM] OCE packaging branch, debian, updated. debian/0.11-1

QbProg tholag at gmail.com
Thu Dec 13 19:16:46 UTC 2012


The following commit has been merged in the debian branch:
commit db42e3133efe22f71d73770ea76bb4a349bd99e2
Author: QbProg <tholag at gmail.com>
Date:   Wed May 16 21:01:21 2012 +0200

    Fixes a duplicate check in the condition. Probably a copy-paste bug.

diff --git a/src/GccAna/GccAna_Circ2d3Tan_8.cxx b/src/GccAna/GccAna_Circ2d3Tan_8.cxx
index 99eaa7a..e354615 100644
--- a/src/GccAna/GccAna_Circ2d3Tan_8.cxx
+++ b/src/GccAna/GccAna_Circ2d3Tan_8.cxx
@@ -135,7 +135,7 @@ GccAna_Circ2d3Tan::
 	     Radius = dist1;
 	   }
 	   if (ok) {
-	     if (Abs(dist2-Radius)<=Tol && Abs(dist2-Radius)<=Tol) { 
+	     if (Abs(dist1-Radius)<=Tol && Abs(dist2-Radius)<=Tol) { 
 	       nbsol3 = 1;
 	     }
 	     else { ok = Standard_False; }

-- 
OCE packaging



More information about the debian-science-commits mailing list