Skip to content
Snippets Groups Projects
Verified Commit 4748d80e authored by Sébastien Villemot's avatar Sébastien Villemot Committed by Stéphane Adjemian
Browse files

The preprocessor now sets options_.{ramsey,discretionary}_policy in all cases

parent 34c6a286
Branches
Tags
No related merge requests found
......@@ -686,7 +686,7 @@ options_.dr_logarithmic_reduction_maxiter = 100;
options_.initial_date = dates();
% discretionary policy
options_.discretionary_policy = 0;
options_.discretionary_policy = false;
options_.discretionary_tol = 1e-7;
% Shock decomposition
......
......@@ -12,7 +12,7 @@ function [info, oo_, options_, M_] = discretionary_policy(M_, options_, oo_, var
% - options_ [structure] Matlab's structure describing the current options (options_).
% - M_ [structure] Matlab's structure describing the model (M_).
% Copyright © 2007-2020 Dynare Team
% Copyright © 2007-2023 Dynare Team
%
% This file is part of Dynare.
%
......@@ -32,7 +32,6 @@ function [info, oo_, options_, M_] = discretionary_policy(M_, options_, oo_, var
M_=discretionary_policy_initialization(M_,options_);
origorder = options_.order;
options_.discretionary_policy = 1;
options_.order = 1;
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list);
......
......@@ -19,7 +19,6 @@ function info = ramsey_policy(var_list)
global options_ oo_ M_
options_.ramsey_policy = 1;
oldoptions = options_;
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list);
......
Subproject commit 0169240f76532df6d507b01647e8576d1094e95d
Subproject commit 70192aec718e5f1e13f1513a7a23e48c31f30714
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment