Commit 00485425 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix crash in conditional_forecast

parent 67370777
......@@ -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);
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