From d6ed198d4324b0bb38287282ed2859ee7987fd16 Mon Sep 17 00:00:00 2001 From: knarf Date: Fri, 28 Apr 2006 09:25:57 +0000 Subject: use CCTK_EQUALS instead of strcmp, which was not defined (missing include) git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/ADMMass/trunk@15 54511f98-0e4f-0410-826e-eb8b393f5a1e --- src/surface_integral.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/surface_integral.c b/src/surface_integral.c index 3f756fd..6dbbd37 100644 --- a/src/surface_integral.c +++ b/src/surface_integral.c @@ -85,8 +85,9 @@ void ADMMass_Surface(CCTK_ARGUMENTS) if (ADMMass_distance_from_grid_boundary[*ADMMass_LoopCounter] > 0.0) { - if (strcmp(CCTK_ParameterValString("type", "cartgrid3d"), "coordbase")) - CCTK_WARN(0,"this thorns used with the ADMMass_distance_from_grid_boundar parameter requires to set coordinates through coordbase."); + if (!CCTK_EQUALS(CCTK_ParameterValString("type", "cartgrid3d"), + "coordbase")) + CCTK_WARN(0,"This thorn used with the ADMMass_distance_from_grid_boundar parameter requires to set coordinates through coordbase."); /* Find the physical coordinates of the boundaries */ ierr = GetDomainSpecification( 3, physical_min, physical_max, -- cgit v1.2.3