From eae78f1edbef16db86097d59b5ec41c372bcbd65 Mon Sep 17 00:00:00 2001
From: MichelJuillard <michel.juillard@mjui.fr>
Date: Mon, 27 Apr 2020 16:48:40 +0200
Subject: [PATCH] fix typo

---
 src/GeneralizedSchurDecompositionSolver.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/GeneralizedSchurDecompositionSolver.jl b/src/GeneralizedSchurDecompositionSolver.jl
index b2b69fd..a154617 100644
--- a/src/GeneralizedSchurDecompositionSolver.jl
+++ b/src/GeneralizedSchurDecompositionSolver.jl
@@ -60,7 +60,7 @@ function gs_solver!(ws::GsSolverWs,d::Matrix{Float64},e::Matrix{Float64},n1::Int
         dgges!('N', 'V', e, d, zeros(1,1), ws.vsr, ws.eigval, ws.dgges_ws)
     catch err
         if err.error_nbr == size(e,1) + 2
-            println("Warning: DGGES reports error $(e.error_nbr)")
+            println("Warning: DGGES reports error $(err.error_nbr)")
         else
             rethrow(err)
         end
-- 
GitLab