Skip to content
Snippets Groups Projects
Commit d0247277 authored by MichelJuillard's avatar MichelJuillard
Browse files

after check, oo_.dr isn't empty but oo_.dr.ghx + friends don't exist

parent f2c04f70
Branches
Tags
1 merge request!1672after check, oo_.dr isn't empty but oo_.dr.ghx + friends don't exist
...@@ -39,7 +39,7 @@ end ...@@ -39,7 +39,7 @@ end
%We have to get an initial guess for the conditional forecast %We have to get an initial guess for the conditional forecast
% and terminal conditions for the non-stationary variables, we % and terminal conditions for the non-stationary variables, we
% use the first order approximation of the rational expectation solution. % use the first order approximation of the rational expectation solution.
if ~isfield(oo_,'dr') || (isempty(oo_.dr)) if ~isfield(oo_,'dr') || ~isfield(oo_.dr,'ghx')
fprintf('computing the first order solution of the model as initial guess...'); fprintf('computing the first order solution of the model as initial guess...');
dr = struct(); dr = struct();
oo_.dr=set_state_space(dr,M_,options_); oo_.dr=set_state_space(dr,M_,options_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment