aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DYYDG_guts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro/DYYDG_guts.h')
-rw-r--r--src/macro/DYYDG_guts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macro/DYYDG_guts.h b/src/macro/DYYDG_guts.h
index f969866..7f4895a 100644
--- a/src/macro/DYYDG_guts.h
+++ b/src/macro/DYYDG_guts.h
@@ -23,7 +23,7 @@
DYYDG_OODY2 = 1D0/(dy*dy)
/* Factor involving 2nd derivative of conformal factor */
- IF (conformal_state /= CONFORMAL_METRIC) THEN
+ IF (conformal_state .eq. 0) THEN
DYYDG_FAC = 0
ELSE
DYYDG_FAC = DYDG_PSI4*(4*DYYDG_DYYDPSI_O_PSI + 12*DYDG_DYDPSI_O_PSI*DYDG_DYDPSI_O_PSI)
@@ -53,7 +53,7 @@
#ifdef CCODE
/* Factor involving 2nd derivative of conformal factor */
- DYYDG_FAC = ((*conformal_state != CONFORMAL_METRIC)?0:
+ DYYDG_FAC = ((*conformal_state == 0)?0:
DYDG_PSI4*(4*DYYDG_DYYDPSI_O_PSI + 12*DYDG_DYDPSI_O_PSI*DYDG_DYDPSI_O_PSI));
/* Now calculate the second deriatives */