Ensure NEXTSTEP is respected also withouth --enbale-tuning=true

This commit is contained in:
Vegard Kippe
2024-02-19 19:14:13 +01:00
parent ae9ddfbea4
commit b8b9a3810d
3 changed files with 20 additions and 11 deletions

View File

@@ -473,7 +473,7 @@ beginEpisode_(bool enableExperiments,
{
const auto& sched_state = schedule_[episodeIdx];
const auto& tuning = sched_state.tuning();
initialTimeStepSize_ = sched_state.max_next_tstep();
initialTimeStepSize_ = sched_state.max_next_tstep(enableTuning_);
maxTimeStepAfterWellEvent_ = tuning.TMAXWC;
return true;
}