From 5c4a9ab709cf7f75d9a1bf7c067f1d72f0a753cf Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 5 Dec 2014 17:54:47 +0300 Subject: [PATCH] 0025559: SIGSEGV in TKMath when computing max tolerance of curve on surface --- src/math/math_Recipes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5