aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DXZDG_guts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro/DXZDG_guts.h')
-rw-r--r--src/macro/DXZDG_guts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macro/DXZDG_guts.h b/src/macro/DXZDG_guts.h
index d301847..7515e96 100644
--- a/src/macro/DXZDG_guts.h
+++ b/src/macro/DXZDG_guts.h
@@ -25,7 +25,7 @@
DXZDG_OO4DXDZ = 1D0/(4D0*dx*dz)
/* Factor involving 2nd derivative of conformal factor */
- IF (conformal_state /= CONFORMAL_METRIC) THEN
+ IF (conformal_state .eq. 0) THEN
DXZDG_FAC = 0
ELSE
DXZDG_FAC = DXDG_PSI4*(4*DXZDG_DXZDPSI_O_PSI + 12*DXDG_DXDPSI_O_PSI*DZDG_DZDPSI_O_PSI)
@@ -62,7 +62,7 @@
#ifdef CCODE
/* Factor involving 2nd derivative of conformal factor */
- DXZDG_FAC = ((*conformal_state != CONFORMAL_METRIC)?0:
+ DXZDG_FAC = ((*conformal_state == 0)?0:
DXDG_PSI4*(4*DXZDG_DXZDPSI_O_PSI + 12*DXDG_DXDPSI_O_PSI*DZDG_DZDPSI_O_PSI));
/* Now calculate the second deriatives */