From b49e2fe50f93ad9e26c3b98e7f6e903aea3bfcfb Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 3 Mar 2004 22:00:02 +0000 Subject: Initialise NaNmask pointer when called from another thorn. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@57 ff385933-4943-42dc-877b-ffc776028de6 --- src/NaNCheck.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NaNCheck.c b/src/NaNCheck.c index 74ce16c..57fb9b7 100644 --- a/src/NaNCheck.c +++ b/src/NaNCheck.c @@ -294,6 +294,7 @@ int NaNChecker_CheckVarsForNaN (const cGH *GH, info.verbose = 0; info.report_max = report_max; info.action_if_found = action_if_found; + info.NaNmask = NULL; #ifdef HAVE_FINITE if (CCTK_Equals (check_for, "NaN")) -- cgit v1.2.3