From 139e76c1f6fd83702f9426eb4840e92a2846657a Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Tue, 25 Feb 2020 14:45:59 +0100
Subject: [PATCH] fix typo in variable name

(cherry picked from commit 54fe1c754c1e7d9457ed2b320610672b4da7d934)
---
 matlab/prior_posterior_statistics.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/matlab/prior_posterior_statistics.m b/matlab/prior_posterior_statistics.m
index 2c5bd93a59..73ebe23cc8 100644
--- a/matlab/prior_posterior_statistics.m
+++ b/matlab/prior_posterior_statistics.m
@@ -19,7 +19,7 @@ function prior_posterior_statistics(type,dataset,dataset_info)
 % See the comments in the posterior_sampler.m funtion.
 
 
-% Copyright (C) 2005-2018 Dynare Team
+% Copyright (C) 2005-2020 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -294,7 +294,7 @@ else
     % which files have to be copied to run remotely
     NamFileInput(1,:) = {'',[M_.fname '.static.m']};
     NamFileInput(2,:) = {'',[M_.fname '.dynamic.m']};
-    if M.set_auxiliary_variables
+    if M_.set_auxiliary_variables
         NamFileInput(3,:) = {'',[M_.fname '.set_auxiliary_variables.m']};
     end
     if options_.steadystate_flag
-- 
GitLab