Skip to content

Commit

Permalink
Fix minor typo in new spectral initial conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ds283 committed Dec 19, 2020
1 parent e709a5c commit 35c5ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CppTransport/templates/nontrivial_metric_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ number $MODEL<number>::make_twopf_si_ic(unsigned int __i, unsigned int __j, doub
auto __leading = __Ginv[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] * (1.0 - __eps);

// O(a^2) TERM (next order)
auto __next = __Ginf[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] * 3.0*__eps
auto __next = __Ginv[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] * 3.0*__eps
- __M[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] / __Hsq;

__tpf = (__leading
Expand All @@ -1200,7 +1200,7 @@ number $MODEL<number>::make_twopf_si_ic(unsigned int __i, unsigned int __j, doub
auto __leading = __Ginv[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))];

// O(a^-2) TERM
auto __next = __Ginf[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] * 3.0*__eps
auto __next = __Ginv[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] * 3.0*__eps
- __M[FIELDS_FLATTEN(SPECIES(__i),SPECIES(__j))] / __Hsq;

__tpf = (__leading
Expand Down

0 comments on commit 35c5ad8

Please sign in to comment.