diff options
-rw-r--r-- | src/surface_integral.c | 5 |
1 files 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, |