From 52e1017291fc0a77f45e4409def96e7c0bf123f0 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sun, 18 Dec 2016 11:59:00 +0100 Subject: [PATCH] Make evaluate_smoother.m output former global variables for correct updating of these objects --- ComputingTasks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ComputingTasks.cc b/ComputingTasks.cc index 1a442620..b3ee1f05 100644 --- a/ComputingTasks.cc +++ b/ComputingTasks.cc @@ -3171,7 +3171,7 @@ CalibSmootherStatement::writeOutput(ostream &output, const string &basename, boo symbol_list.writeOutput("var_list_", output); output << "options_.smoother = 1;" << endl; output << "options_.order = 1;" << endl; - output << "evaluate_smoother('calibration',var_list_,M_,oo_,options_,bayestopt_,estim_params_);" << endl; + output << "[oo_,options_,bayestopt_]=evaluate_smoother('calibration',var_list_,M_,oo_,options_,bayestopt_,estim_params_);" << endl; } ExtendedPathStatement::ExtendedPathStatement(const OptionsList &options_list_arg)