Commit 64361938 authored by sebastien's avatar sebastien
Browse files

Added missing error catching


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2861 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 1736b454
......@@ -70,6 +70,9 @@ function steady_()
[y, check] = dynare_solve('block_mfs_steadystate', ...
ss(M_.blocksMFS{b}), ...
options_.jacobian_flag, b);
if check ~= 0
error('STEADY: convergence problems')
end
ss(M_.blocksMFS{b}) = y;
end
[r, g1, oo_.steady_state] = feval([M_.fname '_static'], b, ss, ...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment