From a8201e1803846fe31b5c17e4af479983286e9571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Mon, 3 Jun 2013 15:56:10 +0200 Subject: [PATCH] Do not check for the steady state in diffuse filter mode Closes #400 --- ComputingTasks.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ComputingTasks.cc b/ComputingTasks.cc index e3d8db26..191f0a8c 100644 --- a/ComputingTasks.cc +++ b/ComputingTasks.cc @@ -358,6 +358,11 @@ EstimationStatement::writeOutput(ostream &output, const string &basename) const else if (atoi(it->second.c_str()) == 2) output << "options_.particle.status = 1;" << endl; + // Do not check for the steady state in diffuse filter mode (#400) + it = options_list.num_options.find("diffuse_filter"); + if (it != options_list.num_options.end() && it->second == "1") + output << "options_.steadystate.nocheck = 1;" << endl; + symbol_list.writeOutput("var_list_", output); output << "dynare_estimation(var_list_);\n"; } -- GitLab