From 4260b60471def979a58a724933c4dc4dbd648378 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 1 Nov 2001 09:39:50 +0000
Subject: [PATCH] lower tol

---
 Common/Numeric.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Common/Numeric.cpp b/Common/Numeric.cpp
index aca50feb50..330037f1b0 100644
--- a/Common/Numeric.cpp
+++ b/Common/Numeric.cpp
@@ -1,4 +1,4 @@
-// $Id: Numeric.cpp,v 1.1 2001-08-11 23:28:31 geuzaine Exp $
+// $Id: Numeric.cpp,v 1.2 2001-11-01 09:39:50 geuzaine Exp $
 
 #include "Gmsh.h"
 #include "Numeric.h"
@@ -48,7 +48,7 @@ int sys2x2 (double mat[2][2], double b[2], double res[2]){
   det = mat[0][0] * mat[1][1] - mat[1][0] * mat[0][1];
 
   // TOLERANCE ! WARNING WARNING
-  if (norm == 0.0 || fabs (det) / norm < 1.e-07){
+  if (norm == 0.0 || fabs (det) / norm < 1.e-12){
     Msg(DEBUG, "Assuming 2x2 matrix is singular (det/norm == %g)", fabs(det)/norm);
     res[0] = res[1] = 0.0 ;
     return 0;
-- 
GitLab