Commit b6582c2d authored by MichelJuillard's avatar MichelJuillard
Browse files

fix handling firstsimulationperiod

parent 91b4cfd3
......@@ -134,6 +134,9 @@ if ~isfield(options, 'first_obs') || isempty(options.first_obs)
if isfield(options, 'first_simulation_period')
options.first_obs = options.first_simulation_period ...
- M.orig_maximum_lag;
elseif isfield(options, 'firstsimulationperiod')
options.firstobs = options.firstsimulationperiod ...
- M.orig_maximum_lag;
end
elseif isfield(options, 'first_simulation_period')
nobs = options.first_simulation_period - opions_.first_obs;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment