Skip to content

Commit

Permalink
undo a "fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Oct 5, 2023
1 parent a75d251 commit f42fa47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/sdc/sdc_newton_solve.H
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ f_sdc_jac(const Real dt_m,
// normalize the species
auto sum_rhoX = 0.0_rt;
for (int n = 0; n < NumSpec; ++n) {
burn_state.y[SFS+n] = amrex::max(burn_state.y[SRHO] * network_rp::small_x, burn_state.y[SFS+n]);
// TODO: this should have a rho weighting on small_x
burn_state.y[SFS+n] = amrex::max(network_rp::small_x, burn_state.y[SFS+n]);
sum_rhoX += burn_state.y[SFS+n];
}

Expand Down

0 comments on commit f42fa47

Please sign in to comment.