aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorknarf <knarf@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2005-05-02 07:48:27 +0000
committerknarf <knarf@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2005-05-02 07:48:27 +0000
commit30303c9b289e10341e2fc95dbf066196a7142c08 (patch)
treeb845f96866f27ca972f44200121dd7472512ea02 /src
parentf83032fa2492e4f6f3a862858c52c2fd4748f06f (diff)
pass NULL in case there is no conformal factor
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@42 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src')
-rw-r--r--src/TwoPunctures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index ae2f667..033db06 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -410,7 +410,7 @@ TwoPunctures (CCTK_ARGUMENTS)
Rescale_Sources(cctkGH,
cctk_lsh[0]*cctk_lsh[1]*cctk_lsh[2],
x, y, z,
- psi,
+ (*conformal_state > 0) ? psi : NULL,
gxx, gyy, gzz,
gxy, gxz, gyz);
}