Skip to content
Snippets Groups Projects
Commit 00485425 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix crash in conditional_forecast

parent 67370777
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function imcforecast(constrained_paths, constrained_vars, options_cond_fcst, con
global options_ oo_ M_ bayestopt_
if ~isempty(options_cond_fcst.simulation_type)
if isfield(options_cond_fcst, 'simulation_type')
if strcmp(options_cond_fcst.simulation_type, 'deterministic')
disp('deterministic condtional forecast');
det_cond_forecast(constrained_paths, constrained_vars, options_cond_fcst, constrained_perfect_foresight);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment