Skip to content
Snippets Groups Projects
Verified Commit d3294ac4 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

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

(cherry picked from commit d54b45cb)
parent 891eb9ef
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,8 @@ while fpar<B
errordef = 'Indeterminacy';
elseif info(1) == 5
errordef = 'Rank condition is not satisfied';
else
errordef = get_error_message(info, options_);
end
if strcmpi(type,'prior')
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