From e815c2b4db825f6f2d6f9b43a54db7bacf81ed61 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Wed, 4 Jan 2017 10:57:00 +0100
Subject: [PATCH] Output UpdatedVariables in oo_ without filtered_variables

Makes it consistent with manual and closes #1366
---
 matlab/prior_posterior_statistics.m | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/matlab/prior_posterior_statistics.m b/matlab/prior_posterior_statistics.m
index 5d29d01a9a..039bd79b3e 100644
--- a/matlab/prior_posterior_statistics.m
+++ b/matlab/prior_posterior_statistics.m
@@ -314,6 +314,10 @@ if options_.smoother
     pm3(endo_nbr,gend,ifil(11),B,'Smoothed trend',...
         '',M_.endo_names(1:M_.orig_endo_nbr, :),M_.endo_names_tex,M_.endo_names,...
         varlist,'Trend',DirectoryName,'_smoothed_trend');
+    pm3(endo_nbr,gend,ifil(1),B,'Updated Variables',...
+        '',varlist,M_.endo_names_tex,M_.endo_names,...
+        varlist,'UpdatedVariables',DirectoryName, ...
+        '_update');
     if smoothed_state_uncertainty
         pm3(endo_nbr,endo_nbr,ifil(13),B,'State Uncertainty',...
             '',varlist,M_.endo_names_tex,M_.endo_names,...
@@ -334,10 +338,6 @@ if options_.smoother
 end
 
 if options_.filtered_vars
-    pm3(endo_nbr,gend,ifil(1),B,'Updated Variables',...
-        '',varlist,M_.endo_names_tex,M_.endo_names,...
-        varlist,'UpdatedVariables',DirectoryName, ...
-        '_update');
     pm3(endo_nbr,gend,ifil(4),B,'One step ahead forecast (filtered variables)',...
         '',varlist,M_.endo_names_tex,M_.endo_names,...
         varlist,'FilteredVariables',DirectoryName,'_filter_step_ahead');
-- 
GitLab