From: vsr Date: Fri, 5 Dec 2014 14:54:47 +0000 (+0300) Subject: 0025559: SIGSEGV in TKMath when computing max tolerance of curve on surface X-Git-Tag: V6_8_0p1~7 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=5c4a9ab709cf7f75d9a1bf7c067f1d72f0a753cf;p=occt-copy.git 0025559: SIGSEGV in TKMath when computing max tolerance of curve on surface --- diff --git a/src/math/math_Recipes.cxx b/src/math/math_Recipes.cxx index 975171ab28..c97bcc95ed 100644 --- a/src/math/math_Recipes.cxx +++ b/src/math/math_Recipes.cxx @@ -177,7 +177,7 @@ Standard_Integer LU_Decompose(math_Matrix& a, math_Vector& vv, Standard_Real TINY) { - Standard_Integer i, imax=0, j, k; + Standard_Integer i, imax=1, j, k; Standard_Real big, dum, sum, temp; Standard_Integer n = a.RowNumber();