Skip to content

Commit

Permalink
Correct index
Browse files Browse the repository at this point in the history
  • Loading branch information
loganharbour committed May 19, 2020
1 parent 3e5f74c commit e875638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/systems/SystemBase.C
Expand Up @@ -513,7 +513,7 @@ SystemBase::saveOldSolutions()
if (states > 1)
{
_saved_solution_states.resize(states);
for (unsigned int i = 1; i <= states; ++i)
for (unsigned int i = 1; i <= states - 1; ++i)
if (!_saved_solution_states[i])
_saved_solution_states[i] =
&addVector("save_solution_state_" + std::to_string(i), false, PARALLEL);
Expand Down

0 comments on commit e875638

Please sign in to comment.