Merge pull request #5215 from vkip/nextstep_without_tuning

Ensure NEXTSTEP is respected also without --enable-tuning=true
This commit is contained in:
Markus Blatt
2024-02-21 16:09:23 +01:00
committed by GitHub
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;
}