time-shift
Michel Juillard 2020-09-20 16:52:31 +02:00
parent c2e43c0093
commit c366a8c3da
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ end
if ~first_obs_ispresent
if isfield(options, 'first_simulation_period')
if options.first_simulation_period < options.maximum_lag
if options.first_simulation_period < M.orig_maximum_lag
error(sprintf([caller, '_FILE: first_simulation_period = %d', ...
'must be larger than the maximum lag (%d)'], ...
options.first_simulation_period, M.orig_maximum_lag))
@ -250,7 +250,7 @@ elseif isfield(options, 'lastobs')
' inconsistent information. Use only two of these', ...
' options.'])
else
last_obs = options.last_obs;
last_obs = options.lastobs;
end
else
last_obs = options.last_obs;