Skip to content
Snippets Groups Projects
Commit b45ef96a authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

INFO->DEBUG for sys2x2 and sys3x3_with_tol
parent aed80d80
No related branches found
No related tags found
No related merge requests found
// $Id: Numeric.cpp,v 1.15 2004-05-07 18:42:49 geuzaine Exp $
// $Id: Numeric.cpp,v 1.16 2004-05-08 00:36:00 geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
......@@ -130,7 +130,7 @@ int sys2x2(double mat[2][2], double b[2], double res[2])
// TOLERANCE ! WARNING WARNING
if(norm == 0.0 || fabs(det) / norm < 1.e-12) {
if(norm)
Msg(INFO, "Assuming 2x2 matrix is singular (det/norm == %g)",
Msg(DEBUG, "Assuming 2x2 matrix is singular (det/norm == %.16g)",
fabs(det) / norm);
res[0] = res[1] = 0.0;
return 0;
......@@ -194,7 +194,7 @@ int sys3x3_with_tol(double mat[3][3], double b[3], double res[3], double *det)
// TOLERANCE ! WARNING WARNING
if(norm == 0.0 || fabs(*det) / norm < 1.e-12) {
if(norm)
Msg(INFO, "Assuming 3x3 matrix is singular (det/norm == %g)",
Msg(DEBUG, "Assuming 3x3 matrix is singular (det/norm == %.16g)",
fabs(*det) / norm);
res[0] = res[1] = res[2] = 0.0;
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment