aboutsummaryrefslogtreecommitdiff
path: root/ML_WaveToy/src/WT_Standing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ML_WaveToy/src/WT_Standing.cc')
-rw-r--r--ML_WaveToy/src/WT_Standing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ML_WaveToy/src/WT_Standing.cc b/ML_WaveToy/src/WT_Standing.cc
index a3d0fa6..bda635f 100644
--- a/ML_WaveToy/src/WT_Standing.cc
+++ b/ML_WaveToy/src/WT_Standing.cc
@@ -99,7 +99,7 @@ static void WT_Standing_Body(cGH const * restrict const cctkGH, int const dir, i
/* Precompute derivatives */
/* Calculate temporaries and grid functions */
- CCTK_REAL_VEC k = ToReal(Pi*ScalarINV(width));
+ CCTK_REAL_VEC k = kdiv(ToReal(Pi),ToReal(width));
CCTK_REAL_VEC omega = ksqrt(kmul(kmul(k,k),ToReal(3)));