Skip to content

Commit

Permalink
Baikal* rhs_eval(): Fix indentation bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachetienne committed Jun 22, 2024
1 parent 15e581b commit eee0eaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nrpy/infrastructures/CarpetX/general_relativity/rhs_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def register_CFunction_rhs_eval(
const CCTK_REAL *param_diss_strength CCTK_ATTRIBUTE_UNUSED = CCTK_ParameterGet("diss_strength", "{thorn_name}", NULL);
const REAL_SIMD_ARRAY diss_strength CCTK_ATTRIBUTE_UNUSED = ConstSIMD(*param_diss_strength);
"""
if enable_SSL:
body += f"""
if enable_SSL:
body += f"""
const CCTK_REAL *SSL_h CCTK_ATTRIBUTE_UNUSED = CCTK_ParameterGet("SSL_h", "{thorn_name}", NULL);
const CCTK_REAL *SSL_sigma CCTK_ATTRIBUTE_UNUSED = CCTK_ParameterGet("SSL_sigma", "{thorn_name}", NULL);
Expand Down
4 changes: 2 additions & 2 deletions nrpy/infrastructures/ETLegacy/general_relativity/rhs_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def register_CFunction_rhs_eval(
const CCTK_REAL *param_diss_strength CCTK_ATTRIBUTE_UNUSED = CCTK_ParameterGet("diss_strength", "{thorn_name}", NULL);
const REAL_SIMD_ARRAY diss_strength CCTK_ATTRIBUTE_UNUSED = ConstSIMD(*param_diss_strength);
"""
if enable_SSL:
body += f"""
if enable_SSL:
body += f"""
const CCTK_REAL *SSL_h CCTK_ATTRIBUTE_UNUSED = CCTK_ParameterGet("SSL_h", "{thorn_name}", NULL);
const CCTK_REAL *SSL_sigma CCTK_ATTRIBUTE_UNUSED = CCTK_ParameterGet("SSL_sigma", "{thorn_name}", NULL);
Expand Down

0 comments on commit eee0eaa

Please sign in to comment.