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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macro/DYDG_guts.h b/src/macro/DYDG_guts.h
index 2dea9f3..3aaae66 100644
--- a/src/macro/DYDG_guts.h
+++ b/src/macro/DYDG_guts.h
@@ -37,9 +37,9 @@
#ifdef CCODE
- DYDG_PSI4 = ((conformal_state != CONFORMAL_METRIC)?1:Power(DYDG_PSI,4));
+ DYDG_PSI4 = ((*conformal_state != CONFORMAL_METRIC)?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 != CONFORMAL_METRIC)?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;