aboutsummaryrefslogtreecommitdiff
path: root/src/CoordinateStuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CoordinateStuff.c')
-rw-r--r--src/CoordinateStuff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CoordinateStuff.c b/src/CoordinateStuff.c
index 59e99a1..bce935f 100644
--- a/src/CoordinateStuff.c
+++ b/src/CoordinateStuff.c
@@ -35,11 +35,11 @@ int IndexFloor(cGH *GH, CCTK_REAL coord_value, int d)
CCTK_REAL cmin,cmax;
if (d==0)
- ierr= CCTK_CoordRange(GH,&cmin,&cmax,"x");
+ CCTK_CoordRange(GH,&cmin,&cmax,"x");
else if (d==1)
- ierr= CCTK_CoordRange(GH,&cmin,&cmax,"y");
+ CCTK_CoordRange(GH,&cmin,&cmax,"y");
else if (d==2)
- ierr= CCTK_CoordRange(GH,&cmin,&cmax,"z");
+ CCTK_CoordRange(GH,&cmin,&cmax,"z");
else
CCTK_WARN(0,"IndexFloor: dimension is not valid. Fortran:1..3 C:0..2");