aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@ff385933-4943-42dc-877b-ffc776028de6>2007-04-27 12:35:52 +0000
committertradke <tradke@ff385933-4943-42dc-877b-ffc776028de6>2007-04-27 12:35:52 +0000
commitbc510ed02e2961c77855bb611276acbb32441eb8 (patch)
tree5eb48c305c10f2b7ac8d771041d5ac9e3cedb49a
parent557ad97a32dd12d155d243e5279bbcbf352b8cca (diff)
decrease warning level from 2 to 1 when printing the locations of NaNs/Infs
in verbose mode git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@83 ff385933-4943-42dc-877b-ffc776028de6
-rw-r--r--src/NaNCheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NaNCheck.c b/src/NaNCheck.c
index 6f339f0..1524619 100644
--- a/src/NaNCheck.c
+++ b/src/NaNCheck.c
@@ -581,14 +581,14 @@ static void PrintWarning (const char *error_type,
if (coords)
{
- CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING,
+ CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
"%s caught in %svariable '%s' at index (%s) with coordinates "
"(%s)", error_type, complex_part, fullname, index_string,
coord_string);
}
else
{
- CCTK_VWarn (2, __LINE__, __FILE__, CCTK_THORNSTRING,
+ CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
"%s caught in %svariable '%s' at (%s)",
error_type, complex_part, fullname, index_string);
}