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

Merge branch 'error_message' into 'master'

get_error_message.m: condition on index being non-zero

See merge request !2003
parents 63bcd255 a60ce435
Branches
Tags
1 merge request!2003get_error_message.m: condition on index being non-zero
Pipeline #6778 passed
......@@ -45,7 +45,7 @@ switch info(1)
case 7
message = sprintf('One of the eigenvalues is close to 0/0 (the absolute value of numerator and denominator is smaller than %5.4f!\n If you believe that the model has a unique solution you can try to reduce the value of qz_zero_threshold.',DynareOptions.qz_zero_threshold);
case 8
if size(info,2)>=2
if size(info,2)>=2 && info(2)~=0
global M_;
disp_string = M_.param_names{info(2)};
for ii=1:length(info)-2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment