Skip to content
Snippets Groups Projects
Verified Commit 1921e3c9 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'steady_cell' of git.dynare.org:JohannesPfeifer/dynare

Ref. !1952
parents 864fa25c 8e063f0c
No related branches found
No related tags found
1 merge request!1952evaluate_steady_state.m: fix missed transition to cell array
...@@ -273,7 +273,7 @@ elseif ~options.bytecode && ~options.block ...@@ -273,7 +273,7 @@ elseif ~options.bytecode && ~options.block
[infrow,infcol]=find(isinf(jacob) | isnan(jacob)); [infrow,infcol]=find(isinf(jacob) | isnan(jacob));
fprintf('\nSTEADY: The Jacobian contains Inf or NaN. The problem arises from: \n\n') fprintf('\nSTEADY: The Jacobian contains Inf or NaN. The problem arises from: \n\n')
for ii=1:length(infrow) for ii=1:length(infrow)
fprintf('STEADY: Derivative of Equation %d with respect to Variable %s (initial value of %s: %g) \n',infrow(ii),deblank(M.endo_names(infcol(ii),:)),deblank(M.endo_names(infcol(ii),:)),ys_init(infcol(ii))) fprintf('STEADY: Derivative of Equation %d with respect to Variable %s (initial value of %s: %g) \n',infrow(ii),M.endo_names{infcol(ii),:},M.endo_names{infcol(ii),:},ys_init(infcol(ii)))
end end
fprintf('Check whether your model is truly linear. Put "resid(1);" before "steady;" to see the problematic equations.\n') fprintf('Check whether your model is truly linear. Put "resid(1);" before "steady;" to see the problematic equations.\n')
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment