From 2a92e68c1c9dab5d62d8a2663d785325b1661369 Mon Sep 17 00:00:00 2001 From: diener Date: Fri, 21 Oct 2011 17:40:04 +0000 Subject: In the IBM compiler malloc returns a null pointer when allocating 0 bytes. This happens when a processor have no points to interpolate and is not an error. The assert statements now takes this case into account. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@125 eec4d7dc-71c2-46d6-addf-10296150bf52 --- src/SymInterp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SymInterp.c b/src/SymInterp.c index 44a3ddd..f3f1997 100644 --- a/src/SymInterp.c +++ b/src/SymInterp.c @@ -476,7 +476,7 @@ Cartoon2D_SymmetryInterpolate (CCTK_POINTER_TO_CONST const cctkGH_, /* Copy coordinates */ for (d=0; d