Skip to content
Snippets Groups Projects
Commit 64c1c858 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'Posterior_IRF' into 'master'

PosteriorIRF_core1.m: Add missing else statement that triggered crashes in rare cases

See merge request !1731
parents d0fb9ce5 d54b45cb
No related branches found
Tags
1 merge request!1731PosteriorIRF_core1.m: Add missing else statement that triggered crashes in rare cases
Pipeline #3748 passed
...@@ -162,6 +162,8 @@ while fpar<B ...@@ -162,6 +162,8 @@ while fpar<B
errordef = 'Indeterminacy'; errordef = 'Indeterminacy';
elseif info(1) == 5 elseif info(1) == 5
errordef = 'Rank condition is not satisfied'; errordef = 'Rank condition is not satisfied';
else
errordef = get_error_message(info, options_);
end end
if strcmpi(type,'prior') if strcmpi(type,'prior')
disp(['PosteriorIRF :: Dynare is unable to solve the model (' errordef ')']) disp(['PosteriorIRF :: Dynare is unable to solve the model (' errordef ')'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment