From 5639adf70f93abd1586fe9d982052e2366c4df3c Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan.bastani@ens.fr>
Date: Mon, 29 Aug 2011 18:03:26 +0200
Subject: [PATCH] clarify error message (manually cherry picked from commit
 d22b86c2d8d2ba7166f09a1803e5c9ee740e2432)

---
 matlab/print_info.m | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/matlab/print_info.m b/matlab/print_info.m
index 40c1d7ee9..0ee6aeb3a 100644
--- a/matlab/print_info.m
+++ b/matlab/print_info.m
@@ -33,8 +33,9 @@ if ~noprint
         error(['The model doesn''t determine the current variables' ...
                ' uniquely'])
       case 2
-        error(['MJDGGES returns the following error code: ' ...
-               int2str(info(2))])
+        error(['The generalized Schur (QZ) decomposition failed. ' ...
+               'For more information, see the documentation for Lapack function dgges: info=' ...
+               int2str(info(2)) ', n=' int2str(info(3))])
       case 3
         error(['Blanchard Kahn conditions are not satisfied: no stable' ...
                ' equilibrium'])
-- 
GitLab