From 0529c12c180560dd5d9c2390820934a0fe392640 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Tue, 4 Feb 2020 15:55:12 +0100
Subject: [PATCH] update call to stoch_simul for 4.6

---
 src/gui_stoch_simulation.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gui_stoch_simulation.m b/src/gui_stoch_simulation.m
index 3fcd77a..186c8fc 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
-- 
GitLab