From b484b629f196308ba4b3299bdceac059ba1f9033 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Tue, 24 Sep 2024 17:55:35 +0200
Subject: [PATCH] forcst.m: remove unused input

---
 matlab/dyn_forecast.m | 4 ++--
 matlab/forcst.m       | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/matlab/dyn_forecast.m b/matlab/dyn_forecast.m
index 0ca6c51e7e..5cbc3b2990 100644
--- a/matlab/dyn_forecast.m
+++ b/matlab/dyn_forecast.m
@@ -162,9 +162,9 @@ end
 
 if M_.exo_det_nbr == 0
     if isequal(M_.H,0)
-        [yf,int_width] = forcst(oo_.dr,y0,horizon,var_list,M_,oo_,options_);
+        [yf,int_width] = forcst(oo_.dr,y0,horizon,var_list,M_,options_);
     else
-        [yf,int_width,int_width_ME] = forcst(oo_.dr,y0,horizon,var_list,M_,oo_,options_);
+        [yf,int_width,int_width_ME] = forcst(oo_.dr,y0,horizon,var_list,M_,options_);
     end
 else
     exo_det_length = size(oo_.exo_det_simul,1)-M_.maximum_lag;
diff --git a/matlab/forcst.m b/matlab/forcst.m
index c5e9c7afe5..6ab1e0078d 100644
--- a/matlab/forcst.m
+++ b/matlab/forcst.m
@@ -1,5 +1,5 @@
-function [yf,int_width,int_width_ME]=forcst(dr,y0,horizon,var_list,M_,oo_,options_)
-% function [yf,int_width,int_width_ME]=forecst(dr,y0,horizon,var_list,M_,oo_,options_)
+function [yf,int_width,int_width_ME]=forcst(dr,y0,horizon,var_list,M_,options_)
+% function [yf,int_width,int_width_ME]=forecst(dr,y0,horizon,var_list,M_,options_)
 %   computes mean forecast for a given value of the parameters
 %   computes also confidence band for the forecast
 %
@@ -10,7 +10,6 @@ function [yf,int_width,int_width_ME]=forcst(dr,y0,horizon,var_list,M_,oo_,option
 %   var_list:    list of variables (character matrix)
 %   M_:          Dynare model structure
 %   options_:    Dynare options structure
-%   oo_:         Dynare results structure
 
 % OUTPUTS:
 %   yf:          mean forecast
-- 
GitLab