Skip to content

Commit

Permalink
address some clang-tidy issues in RKC (#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Feb 20, 2024
1 parent 6b6842d commit 6ccf181
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions integration/RKC/actual_integrator.H
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ void actual_integrator (BurnT& state, Real dt, bool is_retry=false)
std::cout << "dt = " << std::setprecision(16) << dt << std::endl;
std::cout << "temp start = " << std::setprecision(16) << T_in << std::endl;
std::cout << "xn start = ";
for (int n = 0; n < NumSpec; ++n) {
std::cout << std::setprecision(16) << xn_in[n] << " ";
for (auto X : xn_in) {
std::cout << std::setprecision(16) << X << " ";
}
std::cout << std::endl;
std::cout << "dens current = " << std::setprecision(16) << state.rho << std::endl;
std::cout << "temp current = " << std::setprecision(16) << state.T << std::endl;
std::cout << "xn current = ";
for (int n = 0; n < NumSpec; ++n) {
std::cout << std::setprecision(16) << state.xn[n] << " ";
for (auto X : state.xn) {
std::cout << std::setprecision(16) << X << " ";
}
std::cout << std::endl;
std::cout << "energy generated = " << state.e << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion integration/RKC/rkc.H
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ int rkc (BurnT& state, RkcT& rstate)
bool valid = true;

if ((rtol_spec > rmax) || (rtol_enuc > rmax) ||
(rtol_spec < rmin) || (rtol_spec < rmin)) {
(rtol_spec < rmin) || (rtol_enuc < rmin)) {
valid = false;
}

Expand Down

0 comments on commit 6ccf181

Please sign in to comment.