diff --git a/src/gui_stoch_simulation.m b/src/gui_stoch_simulation.m index 3fcd77a0120529a98344e3580be625188eca4638..186c8fcb904ceabbce15751e03794e7f5d66e9e8 100644 --- a/src/gui_stoch_simulation.m +++ b/src/gui_stoch_simulation.m @@ -11,7 +11,7 @@ function gui_stoch_simulation(tabId) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2003-2019 Dynare Team +% Copyright (C) 2003-2020 Dynare Team % % This file is part of Dynare. % @@ -239,7 +239,7 @@ uicontrol( ... gui_tools.project_log_entry('Running stochastic simulation','...'); [jObj, guiObj] = gui_tools.create_animated_screen('Running stochastic simulation, please wait...', tabId); handles.pushbuttonResults.Enable = 'off'; - info = stoch_simul(model_settings.varlist_.stoch_simul); + [info, oo_, options_] = stoch_simul(M_, options_, oo_, model_settings.varlist_.stoch_simul); if info(1) throw(['dynare error number ' info(1)]); end