Skip to content

Commit

Permalink
TestDerivs: pass integer for pown
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Oct 31, 2024
1 parent f11913e commit 3e9dd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TestDerivs/src/test.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ extern "C" void TestDerivs_CalcError(CCTK_ARGUMENTS) {

const int diss_order = deriv_order + 2;
const CCTK_REAL diss =
Arith::pown(-1, diss_order / 2.0 - 1.0) /
Arith::pown(-1, diss_order / 2 - 1) /
Arith::pown(2, diss_order) *
poly_diss(kxx, kxy, kyz, p.x, p.y, p.z, diss_order, dx);
chi_diss_error(p.I) = diss - chi_diss(p.I);
Expand Down

0 comments on commit 3e9dd77

Please sign in to comment.