From 48ac6c64b36e7aa8dc6dbfb1b478e9aa30bfa86c Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Thu, 19 Sep 2024 08:32:59 +0200 Subject: [PATCH] :bug: dsge_simulated_theoretical_correlation.m Make sure ivar is set; usually not triggered due to stored decision rules --- matlab/estimation/dsge_simulated_theoretical_correlation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/estimation/dsge_simulated_theoretical_correlation.m b/matlab/estimation/dsge_simulated_theoretical_correlation.m index 9dc90c44e..5d2ed379d 100644 --- a/matlab/estimation/dsge_simulated_theoretical_correlation.m +++ b/matlab/estimation/dsge_simulated_theoretical_correlation.m @@ -35,8 +35,8 @@ function [nvar,vartan,CorrFileNumber] = dsge_simulated_theoretical_correlation(S % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <https://www.gnu.org/licenses/>. +[ivar,vartan] = get_variables_list(options_, M_); nvar = length(ivar); -[~,vartan] = get_variables_list(options_, M_); % Get informations about the _posterior_draws files. if strcmpi(type,'posterior') -- GitLab