About slicing in rnn_forecast

Hi,

Can you please explain why is slicing up to the last predicted value and doesnt include it rnn_forecast = rnn_forecast[G.SPLIT_TIME - G.WINDOW_SIZE:-1]?

The last prediction will be made by the final full window_size worth of data which corresponds to 1 timestep beyond the validation time range.