diff --git a/src/GeneralizedSchurDecompositionSolver.jl b/src/GeneralizedSchurDecompositionSolver.jl index e4f1d7c8f30ff0e9c6b9aa90d027dd640482c1aa..e4c3935e2872d2d217a88a4dab95362f1e1e0e40 100644 --- a/src/GeneralizedSchurDecompositionSolver.jl +++ b/src/GeneralizedSchurDecompositionSolver.jl @@ -44,9 +44,6 @@ struct GsSolverWs end end -struct UnstableSystemException <: Exception end -struct UndeterminateSystemException <: Exception end - #""" # gs_solver!(ws::GsSolverWs,d::Matrix{Float64},e::Matrix{Float64},n1::Int64,qz_criterium) # @@ -63,9 +60,9 @@ function gs_solver!(ws::GsSolverWs,d::Matrix{Float64},e::Matrix{Float64},n1::Int nstable = ws.dgges_ws.sdim[] if nstable < n1 - throw(UnstableSystemException) + throw(UnstableSystemException()) elseif nstable > n1 - throw(UndeterminateSystemExcpetion) + throw(UndeterminateSystemException()) end ws.g2 .= ws.Z12' linsolve_core!(ws.Z22', ws.g2, ws.linsolve_ws_22)