aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-08-10 13:07:18 +0000
committerschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-08-10 13:07:18 +0000
commit82be6b4bcd7e52088d71d1347f388f04d049ad68 (patch)
treed2addcd86c39f3c74d18092d609560e1649a57d4 /src
parentc43f5da3419ef01e09ee6b4d1599a1a7006d4b3a (diff)
Correct an error in the loop boundaries of the main loop. Instead of
cctk_nghostzones[d], the code contained cctk_nghostzones[2]. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@60 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src')
-rw-r--r--src/TwoPunctures.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index 0700ca3..833bb1f 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -272,8 +272,8 @@ TwoPunctures (CCTK_ARGUMENTS)
for (d = 0; d < 3; ++ d)
{
- imin[d] = 0 + (cctk_bbox[2*d ] ? 0 : cctk_nghostzones[2]);
- imax[d] = cctk_lsh[d] - (cctk_bbox[2*d+1] ? 0 : cctk_nghostzones[2]);
+ imin[d] = 0 + (cctk_bbox[2*d ] ? 0 : cctk_nghostzones[d]);
+ imax[d] = cctk_lsh[d] - (cctk_bbox[2*d+1] ? 0 : cctk_nghostzones[d]);
}
for (k = imin[2]; k < imax[2]; ++k)