Skip to content

Commit

Permalink
ODESolvers: fix bug updating pre
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Sep 19, 2024
1 parent 2933b0c commit 0d77e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ODESolvers/src/solve.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ extern "C" void ODESolvers_Solve(CCTK_ARGUMENTS) {
states<5>{&old, &k0, &k1, &k2, &k3});

// update pre
statecomp_t::lincomb(pre, 0.0, reals<1>{1.0}, states<1>{&var},
statecomp_t::lincomb(pre, 0.0, reals<1>{1.0}, states<1>{&old},
make_valid_all());

} else if (CCTK_EQUALS(method, "RKF78")) {
Expand Down

0 comments on commit 0d77e9d

Please sign in to comment.