Skip to content

Commit

Permalink
fix a bounds issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Nov 25, 2023
1 parent 6fa7ac5 commit 2033f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/nse_update_simplified_sdc.H
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void sdc_nse_burn(BurnT& state, const Real dt) {
Real rho_old = state.y[SRHO];
Real rhoe_old = state.y[SEINT];
Real rhoaux_old[NumAux];
for (int n = 0; n < NumSpec; ++n) {
for (int n = 0; n < NumAux; ++n) {
rhoaux_old[n] = state.y[SFX+n];
}

Expand Down

0 comments on commit 2033f85

Please sign in to comment.