[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 4a18b8a32606859d6579dfb790c97a4d5deed405
Author: QbProg <tholag at gmail.com>
Date:   Sun Nov 25 13:02:38 2012 +0100

    The "k" variable was already used in an external loop. This fix uses a local variable instead.

diff --git a/src/GccAna/GccAna_Circ2d3Tan_2.cxx b/src/GccAna/GccAna_Circ2d3Tan_2.cxx
index 8bbbb88..e6fcf55 100644
--- a/src/GccAna/GccAna_Circ2d3Tan_2.cxx
+++ b/src/GccAna/GccAna_Circ2d3Tan_2.cxx
@@ -205,7 +205,7 @@ pararg3(1,8)
 		 }
 	       }
 	       if (ok) {
-		 for (k = 1 ; k <= nbsol3 ; k++) {
+		 for (Standard_Integer k = 1 ; k <= nbsol3 ; k++) {
 		   NbrSol++;
 		   cirsol(NbrSol) = gp_Circ2d(gp_Ax2d(Center,dirx),Radius(k));
 //                 ==========================================================

-- 
OCE packaging



More information about the debian-science-commits mailing list