aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorknarf <knarf@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2005-04-28 12:48:24 +0000
committerknarf <knarf@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2005-04-28 12:48:24 +0000
commitf83032fa2492e4f6f3a862858c52c2fd4748f06f (patch)
treed36548e950e61369e311fa29ae9192e05b07fe84 /src
parent0b28e2b6563dcc87e3e8ae0dd325f7b9dce76493 (diff)
C89 compliant
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@41 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src')
-rw-r--r--src/TwoPunctures.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index 56107c9..ae2f667 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -119,7 +119,7 @@ void set_initial_guess(CCTK_POINTER_TO_CONST cctkGH,
);
}
fprintf(debug_file, "\n\n");
- for (int i=n2-10; i<n2; i++)
+ for (i=n2-10; i<n2; i++)
{
double d;
indx = Index(0,0,i,0,1,n1,n2,n3);
@@ -129,12 +129,12 @@ void set_initial_guess(CCTK_POINTER_TO_CONST cctkGH,
s_x[indx], d);
}
fprintf(debug_file, "\n\n");
- for (int i=n2-10; i<n2-1; i++)
+ for (i=n2-10; i<n2-1; i++)
{
double d;
int ip= Index(0,0,i+1,0,1,n1,n2,n3);
indx = Index(0,0,i,0,1,n1,n2,n3);
- for (int j=-10; j<10; j++)
+ for (j=-10; j<10; j++)
{
d = PunctIntPolAtArbitPosition(0, nvar, n1, n2, n3, v,
s_x[indx]+(s_x[ip]-s_x[indx])*j/10,