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

Display more explicit error message when k_order_perturbation MEX fails

parent a375cb55
No related branches found
No related tags found
No related merge requests found
function [dr,info] = k_order_pert(dr,M,options) function [dr,info] = k_order_pert(dr,M,options)
% Compute decision rules using the k-order DLL from Dynare++ % Compute decision rules using the k-order DLL from Dynare++
% Copyright © 2009-2020 Dynare Team % Copyright © 2009-2023 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -32,7 +32,8 @@ end ...@@ -32,7 +32,8 @@ end
try try
[dynpp_derivs, dyn_derivs] = k_order_perturbation(dr,M,options); [dynpp_derivs, dyn_derivs] = k_order_perturbation(dr,M,options);
catch catch ME
disp(ME.message)
info(1)=9; info(1)=9;
return return
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment