From fe0054f370d7c3552eb275e380b3760836ea21d9 Mon Sep 17 00:00:00 2001
From: Marco Ratto <marco.ratto@jrc.ec.europa.eu>
Date: Fri, 5 Apr 2013 17:17:47 +0200
Subject: [PATCH] allow posterior irf plots for octave

---
 matlab/PosteriorIRF.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/matlab/PosteriorIRF.m b/matlab/PosteriorIRF.m
index e74c19a49c..e06e173998 100644
--- a/matlab/PosteriorIRF.m
+++ b/matlab/PosteriorIRF.m
@@ -457,6 +457,8 @@ if ~exist('OCTAVE_VERSION')
             [fout] = masterParallel(options_.parallel, 1, M_.exo_nbr,NamFileInput,'PosteriorIRF_core2', localVars, globalVars, options_.parallel_info);
         end
     end
+else
+    [fout] = PosteriorIRF_core2(localVars,1,M_.exo_nbr,0);
 end
 % END parallel code!
 
-- 
GitLab