aboutsummaryrefslogtreecommitdiff
path: root/src/TwoPunctures.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/TwoPunctures.c')
-rw-r--r--src/TwoPunctures.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index d8002ae..b548037 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -595,9 +595,9 @@ TwoPunctures (CCTK_ARGUMENTS)
} /* for j */
} /* for k */
- for (k = imin[2]; k < imax[2]; ++k)
- for (j = imin[1]; j < imax[1]; ++j)
- for (i = imin[0]; i < imax[0]; ++i)
+ for (int k = imin[2]; k < imax[2]; ++k)
+ for (int j = imin[1]; j < imax[1]; ++j)
+ for (int i = imin[0]; i < imax[0]; ++i)
{
int ijk = CCTK_GFINDEX3D(cctkGH, i, j, k);
x[ijk] += center_offset[0];