From f11048f2dce6ebc31abc4b25ca3c995d1470e224 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?D=C3=B3ra=20Kocsis?= <dora@dynare.org>
Date: Fri, 29 Nov 2019 12:14:43 +0100
Subject: [PATCH] Pass oo_ as function input for plot_icforecast.
 Dynare/dynare#1672

---
 src/ComputingTasks.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc
index 7a3f51b0..c67084a4 100644
--- a/src/ComputingTasks.cc
+++ b/src/ComputingTasks.cc
@@ -2927,9 +2927,9 @@ PlotConditionalForecastStatement::writeOutput(ostream &output, const string &bas
 {
   symbol_list.writeOutput("var_list_", output);
   if (periods == -1)
-    output << "plot_icforecast(var_list_,[],options_);" << endl;
+    output << "plot_icforecast(var_list_,[],options_,oo_);" << endl;
   else
-    output << "plot_icforecast(var_list_, " << periods << ",options_);" << endl;
+    output << "plot_icforecast(var_list_, " << periods << ",options_,oo_);" << endl;
 }
 
 void
-- 
GitLab