aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DYDG_guts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro/DYDG_guts.h')
-rw-r--r--src/macro/DYDG_guts.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macro/DYDG_guts.h b/src/macro/DYDG_guts.h
index 3aaae66..a95cd95 100644
--- a/src/macro/DYDG_guts.h
+++ b/src/macro/DYDG_guts.h
@@ -18,7 +18,7 @@
#ifdef FCODE
- IF (conformal_state /= CONFORMAL_METRIC) THEN
+ IF (conformal_state .eq. 0) THEN
DYDG_PSI4 = 1
DYDG_FAC = 0
ELSE
@@ -37,9 +37,9 @@
#ifdef CCODE
- DYDG_PSI4 = ((*conformal_state != CONFORMAL_METRIC)?1:DYDG_PSI*DYDG_PSI*DYDG_PSI*DYDG_PSI);
+ DYDG_PSI4 = ((*conformal_state == 0)?1:DYDG_PSI*DYDG_PSI*DYDG_PSI*DYDG_PSI);
- DYDG_FAC = ((*conformal_state != CONFORMAL_METRIC)?0:4*DYDG_PSI4*DYDG_DYDPSI_O_PSI);
+ DYDG_FAC = ((*conformal_state == 0)?0:4*DYDG_PSI4*DYDG_DYDPSI_O_PSI);
DYDG_DYDGXX = DYDCG_DYDCGXX*DYDG_PSI4 + DYDG_FAC*DYDG_GXX;
DYDG_DYDGXY = DYDCG_DYDCGXY*DYDG_PSI4 + DYDG_FAC*DYDG_GXY;